-
Notifications
You must be signed in to change notification settings - Fork 2k
fix(anvil): recomputing next-base-fee after reloading state #10488
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this makes sense to me
ty
just needs smol fmt
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could we perhaps also add an additional tests like this one here
foundry/crates/anvil/tests/it/state.rs
Line 13 in 19ecdde
async fn can_load_state() { |
test added |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, thank you! @mattsse good to send?
fixes #10484
probably not the cleanest solution, but at least seems I have found the root cause. would appreciate some guidance in how to clean this up, or potential edge cases I may have missed