Satoshi BrotherYour brother in the market
EN

Ethereum's Glamsterdam Upgrade May Allow Transactions to Bypass Payments, Tests Reveal

Ethereum's Glamsterdam upgrade tests reveal a flaw allowing transactions to succeed while associated payments fail, impacting application guarantees.

Ethereum's Glamsterdam Upgrade May Allow Transactions to Bypass Payments, Tests Reveal

Insights from Ethereum's Glamsterdam Upgrade Simulations

Recent simulations of Ethereum's upcoming Glamsterdam upgrade have revealed intriguing insights into transaction behaviors, particularly highlighting scenarios where certain payments can fail while the overall transaction still succeeds. Conducted by developers on the Sepolia test network, these tests specifically involved the payment contracts associated with Juicebox V6, which handles project payment routing.

Key Findings from the Simulations

In the series of simulations run on November 14, notable outcomes were produced, such as:

  • A situation where a buyer retains ownership of a non-fungible token (NFT) even when the payment meant for another project is unsuccessful.
  • Participants were able to withdraw funds while circumventing a fee of 2.5%.

Developer mejango explained that these results were obtained by utilizing previously deployed smart contract code in a process termed eth_simulateV1.

Each simulation saw new projects being launched and funded, followed by tests that varied the transaction gas limits. Crucially, these outcomes are pinned to specific blockchain blocks to ensure accuracy in the results.

Additional Findings and Implications

Additional findings within the tests indicate scenarios where transactions are processed that do not distribute funds to secondary projects, meaning that the funds remain with the original paying project. Moreover, even when cross-project payments fail, others, such as the distribution of reserved tokens, can still succeed, thereby allowing beneficiaries to receive raw tokens.

The simulations also highlighted cash-out functionalities where sampled gas limits, ranging from 679,622 to 817,622, allowed successful withdrawals without incurring the previously mentioned fee. In stark contrast, runs on the Ethereum mainnet only recorded complete transaction failures or total successes across all tested scenarios.

The discrepancies noted during these tests can be attributed to which operation exhausts its gas limit first. The Glamsterdam proposals incorporate mechanisms that let an internal payment operation, which may cause a failure, occur without impacting the overall transaction’s execution. This is facilitated by a try/catch error handling feature in the contract that permits surrounding operations to continue after absorbing any internal failures.

Ongoing Discussions and Future Steps

As part of ongoing discussions regarding Ethereum Improvement Proposals (EIPs), specifically EIP-8037, which suggests increased costs for creating lasting data on the blockchain, and EIP-8038, focusing on modifying the costs associated with state access and writing, these findings aim to enhance transaction throughput while managing resource requirements.

The agenda for a testing call on November 16 explicitly acknowledges Juicebox’s compatibility challenges and the need for proofs of concept amid ongoing EIP evaluations, serving as vital context for Thursday's discussions on execution-layer developments. Amid these updates, developer mejango raised concerns about the implications of the proposed changes and their alignment with the Ethereum Foundation’s standards for stability in immutable applications – a topic that has heightened importance amid earlier warnings about compatibility and payment outcomes.

This series of events leads into a forthcoming review session on November 19 to deliberate findings and consider subsequent steps, although the Ethereum Foundation has not made any firm commitments regarding future decisions.

In light of these developments, the Ethereum community continues to engage in crucial dialogues about how emerging upgrades may affect the solid guarantees upon which decentralized applications were originally built.

Also in other languages: РусскийDeutschFrançaisItalianoEspañol

Editorial & AI policy · Contact