You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test(evm): make bank inflation guard actually reproduce the exploit
TestBankSend_NoSupplyInflation as first written was a false guard: a plain
CallEVMWithData(bank.send) passes on pre-#332 (unfixed) bank code too, because
the native-token inflation only triggers when the sender's EVM stateObject
balance is authoritative at Commit.
Give the sender code (EIP-7702-style delegation) and load its stateObject so
the pre-fix reconciliation mints the debited amount back. Verified: on pre-#332
bank code the test now fails with supply += 5e8 (the sent amount); on #332 it
stays flat. The SetCode is load-bearing.
0 commit comments