Repository navigation
feat(tests): cover block state budget after authorization preparation rollback - #3540
Merged
LouisTsai-Csie merged 4 commits intoSep 22, 2026
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## forks/amsterdam #3540 +/- ##
===================================================
+ Coverage 94.47% 94.49% +0.02%
===================================================
Files 624 624
Lines 36969 36964 -5
Branches 3334 3331 -3
===================================================
+ Hits 34925 34930 +5
+ Misses 1443 1435 -8
+ Partials 601 599 -2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
spencer-tb
force-pushed
the
tests/amsterdam/auth-preparation-block-budget
branch
from
September 18, 2026 10:27
4da6b82 to
b3fbfd3
Compare
spencer-tb
marked this pull request as ready for review
September 18, 2026 10:27
LouisTsai-Csie
self-requested a review
September 21, 2026 08:37
LouisTsai-Csie
left a comment
Contributor
There was a problem hiding this comment.
I create a PR on top of this one for some readability, logic remains the same, please let me know what you think: spencer-tb#65
LouisTsai-Csie
approved these changes
Sep 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Pin that authorization state gas rolled back on preparation failure leaves the block state budget, admitting a following transaction at exact fit and rejecting it one gas over. Existing preparation tests check receipts and post-state without block admission, while dispatch-failure block tests cover authorizations that persist.
Related Issues or PRs
#3217 (EIP-8037 section); ethereum/EIPs#12303 (merged 2026-09-14).
Checklist
just static<type>(<area>): <title>, where<type>and<area>come from an appropriateC-<type>, respectivelyA-<area>, label. The title should match the target squash commit message.Cute Animal Picture