Ethereum tests find skipped payments in Glamsterdam upgrade

Simulations of Juicebox V6 contracts found four cases where transactions succeeded while internal payments failed under proposed Ethereum Glamsterdam rules.

The simulations were published Nov. 14 by Juicebox developer mejango. They tested deployed Juicebox V6 contracts on Ethereum’s Sepolia test network through the eth_simulateV1 tool. Each scenario was tied to a specific blockchain block and run across different transaction gas limits.

The contracts route payments between projects. In one test, a buyer received an NFT even though the related payment to another project failed. In another, a reserved-token distribution completed after a cross-project payment failed, leaving the beneficiary with raw tokens.

A separate cash-out test showed a withdrawal completing without its 2.5% fee being paid. The reported gas range for that result was 679,622 to 817,622 units. The fee remained in the project that processed the cash-out instead of reaching its intended recipient.

The developer attributed the outcomes to the order in which operations ran out of gas. Under the tested Glamsterdam rules, an internal payment that creates new persistent storage can fail before the surrounding transaction runs out of gas. Juicebox’s try/catch error handling then absorbs the internal failure, allowing the main transaction to complete.

Comparison tests using sampled mainnet rules produced either a failed transaction or complete payment delivery across the same four paths. They did not show a range in which payments were skipped while transactions succeeded.

The results cover selected contract paths and gas samples. They do not establish a live incident or network-wide exposure and have not been independently reproduced based on the information provided with the tests.

Ethereum’s Nov. 16 execution-layer testing agenda included Juicebox’s compatibility concerns and proof-of-concept results in investigations of EIP-8037 and EIP-8038. EIP-8037 proposes higher costs for creating persistent blockchain data and separate accounting for state creation and execution. EIP-8038 proposes changes to the costs of accessing and writing blockchain state.

In a Nov. 13 comment on the testing agenda, mejango asked whether the potential effects were within the Ethereum Foundation’s tolerance for breaking changes. The comment linked the issue to developers’ ability to build immutable applications whose deployed code cannot be changed in place.

The Ethereum Foundation’s Nov. 9 update recommended reviewing public audit findings before deciding on specification changes or the Hoodi testnet schedule. It listed Nov. 19 for discussion of the findings and possible next steps, without committing to a decision in advance.

Articles by this author