Skip to content

Ethereum Glamsterdam upgrade testing reveals potential compatibility issues: transactions succeed but internal payments may fail

Nov 17, 11:55

November 17 — Testing of Ethereum's proposed Glamsterdam upgrade has exposed potential smart contract compatibility issues. Developers' simulation tests on the Juicebox V6 project payment contracts showed that on the Sepolia testnet, some transactions, while succeeding in overall execution, could have their internal payment operations fail, causing fund distribution or fee payments to be skipped.

One Juicebox V6 test showed that after a user purchases an NFT, even if the payment to another project fails, the user may still successfully receive the NFT, with the unpaid funds remaining in the paying project. In another test, a reserved token allocation operation could complete, but the cross-project payment failed, and the beneficiary ultimately received the original tokens rather than the expected payment result. The cash redemption test also found that within the 679,622 to 817,622 Gas range listed in the report, users could successfully complete redemptions, but the internal 2.5% fee that should have been paid was not executed, effectively waiving that fee.

Developer mejango explained that the issue is related to the Gas consumption of different operations and error-handling mechanisms. Under the Glamsterdam rules in the tests, internal payments involving new storage writes may first fail due to insufficient Gas, while the outer transaction can still continue executing. Because the try/catch mechanism in the contract catches the internal error, the outer operation does not roll back accordingly. As a control, developers conducted similar simulations on the mainnet environment, and within the sampled Gas range, only cases of overall transaction failure or complete payment execution occurred; no results of internal payments being skipped were observed.

The Ethereum Foundation's November 16 testing meeting agenda has included the compatibility issue raised by Juicebox and the related proof of concept for investigation and discussion under EIP-8037 and EIP-8038. The Foundation previously scheduled further discussion on November 19 of the testing findings and follow-up measures, and no final decision has been predetermined.

Source