Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

component: better test infrastructure #1675

Merged
merged 1 commit into from
Nov 29, 2022
Merged

component: better test infrastructure #1675

merged 1 commit into from
Nov 29, 2022

Conversation

hdevalence
Copy link
Member

Work towards #1664

Closes #853

This commit cleans up the IBC client test as an example case of the new API.

Along the way, we also clean up some other ergonomic pain points, notably adding an Arc<State>::try_begin_transaction() method.

Co-Authored-By: Conor Schaefer conor@penumbra.zone

@hdevalence hdevalence temporarily deployed to smoke-test November 29, 2022 01:55 Inactive
Work towards #1664

Closes #853

This commit cleans up the IBC client test as an example case of the new API.

Along the way, we also clean up some other ergonomic pain points, notably
adding an `Arc<State>::try_begin_transaction()` method.

Co-Authored-By: "Conor Schaefer" <conor@penumbra.zone>
@hdevalence
Copy link
Member Author

@avahowell Could you look at the content of the IBC test and check that we didn't clobber anything?

@hdevalence hdevalence merged commit 23eb86d into main Nov 29, 2022
@hdevalence hdevalence deleted the temp-storage branch November 29, 2022 05:09
@hdevalence
Copy link
Member Author

Merging optimistically to be able to do some changes to the ActionHandler trait.

@avahowell
Copy link
Contributor

the IBC test looks good to me, I like this test infrastructure approach

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create a Storage::ephemeral_test_instance() method
2 participants