Skip to content

core: fix EIP-8037 double-refund of 7702 auth-base state gas within a tx#35128

Open
felix314159 wants to merge 1 commit into
ethereum:bal-devnet-7from
felix314159:bal-devnet-7
Open

core: fix EIP-8037 double-refund of 7702 auth-base state gas within a tx#35128
felix314159 wants to merge 1 commit into
ethereum:bal-devnet-7from
felix314159:bal-devnet-7

Conversation

@felix314159

Copy link
Copy Markdown

if you take our bal 7.2.0 fixtures and then run

uv run consume direct --input fixtures/state_tests/for_amsterdam/prague/eip7702_set_code_tx/set_code_txs_2/ --bin ~/Documents/go-ethereum/build/bin/evm -k "double_auth and RESET and not first_delegation_DelegationTo.RESET"

against geth's bal-devnet-7 evm, then you can see that both tests fail (other clients pass, and with this fix you also pass). lmk whether this fix makes sense, i discovered this via differential state fuzzing and then looked for an existing test that reproduces it

@felix314159 felix314159 requested a review from rjl493456442 as a code owner June 9, 2026 13:22
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