Back to all reports

以太坊研究日报

Ethereum Research Daily

The weekend kept circling EIP-8037's failure-handling problem. A new EIP, CALLSTATUS, proposes a 2-gas instruction that tells a contract directly whether its last call reverted normally or ran out of gas through an exceptional halt somewhere below, with no more inference from `GAS` arithmetic. The EIP-8141 PR charging the legacy share was merged. On ethresear, a team described an OP Stack rollup whose accounts are keccak hash chains, with no signatures inside the L2.

Image: GitHub, ethereum/EIPs PR #12586

Letting contracts tell OOG from ordinary failure

New EIP: CALLSTATUS instruction

(svlachakis). `CALLSTATUS` (`0xA5`, 2 gas) pushes the completion status of the current frame's most recent call or create as three bits: reverted, halted, and halt somewhere below. `0` is success, `1` reverted or not started, `2` halted exceptionally or address collision, `4` succeeded after a halt below, and `5` reverted after a halt below; a value of 2 or more means gas forwarded somewhere along the call line was consumed by an exceptional halt. The motivation: the transaction sender can cause an OOG by choosing the gas, while today contracts can only judge from `GAS` arithmetic after the call.

https://github.com/ethereum/EIPs/pull/12586

Post-quantum accounts and consensus

ethresear.ch: a hash-only rollup, OP Stack L2 accounts as Lamport-style hash chains with no ECDSA inside the L2

06:24 (by the founder of bb84; chain ID 42069000, live on mainnet since September 30). An account is the tip of a keccak-256 hash chain, spending reveals the next preimage, and a commit-reveal step binds each preimage to one transaction. The only assumption inside the L2 is keccak-256 preimage resistance, which Grover reduces to about 2^128 work. ECDSA still appears at the L1 boundary.

https://ethresear.ch/t/a-hash-only-rollup-op-stack-l2-accounts-as-lamport-style-hash-chains-no-ecdsa-inside-the-l2/26172

Other updates

Community