The Ethereum Foundation is exploring a way for a transaction to check what it actually changed before its execution is accepted. The idea, outlined on October 5 by the Foundation’s Access Cluster, is aimed at reducing blind signing and helping users set rules for a transaction’s final result. It remains research work, not a feature on Ethereum today.
What the proposal would check
Current Ethereum contracts can make particular checks, but there is no general mechanism for on-chain code to inspect every net balance, storage and event change made by a transaction. The draft EIP-7906 proposes three opcodes—TXTRACE, TXDIFF and EVENTDATACOPY—to expose those changes to an assertion.
EIP-7906 builds on EIP-8141 frame transactions. It would add a read-only POST_TX frame after the transaction’s actions. That frame could compare starting and final values against a rule, such as requiring a minimum amount received, capping spending, preventing an unexpected approval or preserving an account’s control settings. TXTRACE would enumerate the net changes, TXDIFF would look up specific values, and EVENTDATACOPY would make event data available.
If an assertion failed, the transaction’s execution body would be reverted. The transaction would still be included with a failed status, and its gas payer would still pay for gas used. That keeps the mechanism from making failed execution free for block builders.
Wallet and protocol support would matter
The Ethereum Foundation says EIP-8141 is scheduled for the Hegotá upgrade, while EIP-7906 has advanced to “Considered for Inclusion” but is not confirmed. The EIP itself is marked Draft. The design also does not require every transaction to include an assertion: wallets would need to add the rule to transactions they build, while protocols seeking protection would need to require the expected assertion.
Rules would still need to be trustworthy and complete. The Foundation warns that an assertion that checks too little could give users false confidence, and a compromised transaction builder could supply a weak rule. The proposal could give wallets and protocols a broader way to inspect transaction outcomes, but it does not guarantee safe transactions or change Ethereum’s current behavior.
Sources: Ethereum Foundation: How native transaction assertions could enforce a transaction’s final outcome; EIP-7906 draft specification.


Leave A Comment