fix: gate EIP-7702 auth nonce gas to T1 - #4560
Closed
legion2002 wants to merge 1 commit into
Closed
Conversation
legion2002
requested review from
0xKitsune,
klkvr,
mattsse and
rakita
as code owners
May 28, 2026 09:31
0xrusowsky
approved these changes
May 28, 2026
0xrusowsky
approved these changes
May 28, 2026
0xrusowsky
left a comment
Contributor
There was a problem hiding this comment.
makes sense, pending re-execution tests to pass
Contributor
Author
|
closed in favour of #4561 |
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.
Summary
auth.nonce == 0account-creation surcharge to T1+25,000gasContext
The reexecute workflow failed on Moderato block
547791for tx0xb97b5b33ed8727d8202ba099821ab6799ecf4b99321e2e89aabb71585f942f8dwith a+25,000gas mismatch. That block is pre-T1, but the revm bump migration started usingGasId::new_account_cost()forauthorizationListentries withnonce == 0; unlike the old Tempo-specific auth account gas id, that value is nonzero pre-T1.Tests
cargo test -p tempo-revm test_pre_t1_eip7702_auth_nonce_zero_skips_tip1000_surchargecargo test -p tempo-revm test_state_gas_standard_tx_nonce_zerocargo test -p tempo-revm