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

fix: using snapshot insead of state copy #63

Merged
merged 1 commit into from
Dec 27, 2024
Merged

Conversation

irrun
Copy link
Collaborator

@irrun irrun commented Dec 26, 2024

Description

add a description of your changes here...

Rationale

tell us why we need these changes...

Example

add an example CLI or API response...

Changes

Notable changes:

  • add each change in a bullet point here
  • ...

state = prevState
gasPool = prevGasPool
// NOTE: here should not revert state, when no err returned by ApplyTransaction, state.clearJournalAndRefund()
// must had been called to avoid reverting across transactions, so we can directly remove the tx from bundle
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

more information see bnb-chain/op-geth#240 (comment)

@unclezoro unclezoro merged commit 9fca860 into develop Dec 27, 2024
4 of 6 checks passed
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.

2 participants