Ethereum test exposes flaw that lets transactions skip payments
Source: CryptoSlate — Read the original ↗
Summary
Simulations published by a Juicebox developer show that under the proposed Glamsterdam rules, an Ethereum transaction can succeed while a payment inside it fails. The Nov. 14 runs on Sepolia found four such paths in Juicebox V6 contracts, including a payout that skipped a split to another project and a cash-out that completed without paying its 2.5% fee. The cause is that an internal payment writing fresh storage can run out of gas before the outer transaction, and try/catch handling lets the outer call finish. Comparable mainnet runs showed only full failures or complete delivery. The findings sit on the Nov. 16 testing agenda for EIP-8037/8038, with the Ethereum Foundation listing Nov. 19 for further discussion.
“Under the tested Glamsterdam rules, an internal payment that writes fresh storage can fail before the outer transaction does.”
Key points
- Four Juicebox V6 payment paths succeeded while internal payments failed in Glamsterdam simulations
- In the cash-out test, gas limits between 679,622 and 817,622 let withdrawals skip the 2.5% fee
- Mainnet comparisons showed no skipped-payment outcomes
- EIP-8037/8038 gas repricing is behind the change; discussion is set for Nov. 19
Why it matters: Immutable apps may lose payment guarantees they were built on if gas rules change.
Tóm tắt
Các mô phỏng do một nhà phát triển Juicebox công bố cho thấy theo quy tắc Glamsterdam đề xuất, một giao dịch Ethereum có thể thành công dù khoản thanh toán bên trong thất bại. Các lần chạy ngày 14/11 trên Sepolia tìm ra bốn trường hợp như vậy trong hợp đồng Juicebox V6, gồm một lần chi trả bỏ qua phần chia cho dự án khác và một lần rút tiền hoàn tất mà không trả phí 2,5%. Nguyên nhân là khoản thanh toán nội bộ ghi vào bộ nhớ mới có thể hết gas trước giao dịch bên ngoài, và cơ chế try/catch cho phép lệnh bên ngoài vẫn hoàn tất. Các lần chạy tương tự trên mainnet chỉ cho thấy thất bại hoàn toàn hoặc chuyển đủ. Kết quả nằm trong chương trình thử nghiệm ngày 16/11 về EIP-8037/8038, và Ethereum Foundation dự kiến thảo luận tiếp vào 19/11.
Điểm chính
- Bốn luồng thanh toán Juicebox V6 thành công dù thanh toán nội bộ thất bại trong mô phỏng Glamsterdam
- Trong thử nghiệm rút tiền, giới hạn gas từ 679.622 đến 817.622 cho phép bỏ qua phí 2,5%
- So sánh trên mainnet không thấy trường hợp bỏ qua thanh toán
- Việc định giá lại gas của EIP-8037/8038 là nguyên nhân; thảo luận dự kiến ngày 19/11
Vì sao quan trọng: Các ứng dụng bất biến có thể mất những bảo đảm thanh toán vốn có nếu quy tắc gas thay đổi.
摘要
一位Juicebox开发者发布的模拟显示,在拟议的Glamsterdam规则下,以太坊交易可能成功而其内部支付却失败。11月14日在Sepolia上的测试在Juicebox V6合约中发现了四条此类路径,包括一次跳过向其他项目分账的支付,以及一次未支付2.5%费用就完成的提现。原因是写入新存储的内部支付可能先于外层交易耗尽gas,而try/catch处理让外层调用照常完成。主网上的对照测试只出现完全失败或完整交付。该发现已列入11月16日EIP-8037/8038测试议程,以太坊基金会计划于11月19日进一步讨论。
要点
- Glamsterdam模拟中,四条Juicebox V6支付路径在内部支付失败时仍显示成功
- 提现测试中,gas上限在679,622至817,622之间时可跳过2.5%费用
- 主网对照未出现跳过支付的情况
- 原因在于EIP-8037/8038的gas重新定价;讨论定于11月19日
为何重要: 若gas规则改变,不可变应用可能失去其依赖的支付保证。
Original summary written by VolumeVein from the publisher’s article; no full text is republished. Facts belong to the original report — read it for full context. Not financial advice.
Read the full article on CryptoSlate ↗