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

feat(state): take N reverts from BundleState, struct refactor #681

Merged
merged 6 commits into from
Sep 4, 2023

Conversation

rakita
Copy link
Member

@rakita rakita commented Sep 4, 2023

The original function detach_lower_part_reverts didn't make sense to return Self as the returned Bundle state had just reverts. So remove it and make explicit function that handles return of the reverts.

Additionally added structures to the long storage types that we had inside PlainStateRevert and PlainStateChangeset this increased the readability of types.

This addresses few comments from this PR: #663

@rakita rakita changed the title feat(state): take N reverts from BundleState feat(state): take N reverts from BundleState, struct refactor Sep 4, 2023
@rakita rakita merged commit b500718 into main Sep 4, 2023
7 checks passed
@rakita rakita mentioned this pull request Sep 5, 2023
@rakita rakita deleted the take_account_reverts branch September 5, 2023 17:25
mikelodder7 pushed a commit to LIT-Protocol/revm that referenced this pull request Sep 12, 2023
…loy#681)

* feat(state): take N reverts from BundleState

* new line

* nits, export and PartialEq,Eq

* ftm
Evalir pushed a commit to Evalir/revm that referenced this pull request Sep 14, 2023
…loy#681)

* feat(state): take N reverts from BundleState

* new line

* nits, export and PartialEq,Eq

* ftm
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.

1 participant