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
{{ message }}
Repository navigation
state: EIP-3607 sender check exempts delegation designations before Prague #1825
validate_transaction() in test/state/state.cpp rejects a sender with code (EIP-3607) unless is_code_delegated() of the code, at every revision. The exemption for delegation designations comes from EIP-7702 and applies only from Prague; before it, any code makes the sender invalid.
So before Prague a transaction from an account with code 0xef0100 || X is accepted instead of failing with SENDER_NOT_EOA. This matters only for synthetic states, e.g. in fuzzing or state tests: no code starting with 0xEF existed before London (EIP-3541), so a valid pre-Prague state has no such account. execution-specs rejects such a sender before Prague.
Fix: rev >= EVMC_PRAGUE && is_code_delegated(...), as validate_state() already does (test/utils/statetest_loader.cpp:532).
Activity