Why are prominent developers, including Curve Finance’s founder, urging Ethereum to halt the Glamsterdam upgrade in its current form, how coAn editorial illustration for the risks posed by proposed gas-accounting changes to existing Ethereum contracts.
AI 提示
Create a landscape editorial hero image for this Studio Global article: Why are prominent developers, including Curve Finance’s founder, urging Ethereum to halt the Glamsterdam upgrade in its current form, how co. Article summary: Developers are urging a pause because Glamsterdam’s gas changes could break already-deployed contracts—not merely make transactions more expensive—and potentially leave user funds inaccessible.[11] The confirmed response. Topic tags: general, general web, user generated. Style: premium digital editorial illustration, source-backed research mood, clean composition, high detail, modern web publication hero. Use reference image context only for broad subject, composition, and topical grounding; do not copy the exact image. Avoid: logos, brand marks, copyrighted characters, real person likenesses, fake screenshots, UI text, readable text, watermarks, charts with fa
openai.com
Glamsterdam 暂缓,并不是因为它可能单纯让交易变贵,而是因为拟议中的 gas 计费规则变化,可能让部分已经部署的智能合约以不同于预期的方式运行。以太坊基金会表示,在相关问题解决前,不会在 Hoodi 测试网上进行这次升级。8
EIP-8037 和 EIP-8038 改了什么?
EIP-8037 提高了创建链上状态的成本,并引入单独的状态 gas 计费方式;EIP-8038 则调整访问已有状态的 gas 成本。两项提案会改变某些操作的收费规则,而一些已部署合约可能把旧规则视为固定不变的前提。20238
问题在于,智能合约可能根据 gas 限额和 gas 消耗情况,判断一次操作是成功、失败,还是应当重试。若某项操作的 gas 成本或计费方式发生变化,这些判断就可能失准,尤其是在外部调用失败时。619
gas 假设如何改变合约行为
固定 gas 预算: 合约可能按照某项操作过去的成本,给另一个操作预留固定数量的 gas。如果相关状态操作变得更贵,预留的 gas 就可能不够用。基金会指出,部分项目确实依赖这些提案会改变的 gas 成本假设。89
通过 gasleft() 判断剩余 gas: ChainSecurity 解释,gasleft() 返回的是当前执行帧的执行 gas 余额;如果单独的状态 gas 储备耗尽,状态创建费用也可能从这部分余额中扣除。该机构提醒开发者,不要只根据调用后剩余的 gas 推断调用失败的原因:中间环节的回滚或 gas 补充,都可能让这种推断失效。19
Why are prominent developers, including Curve Finance’s founder, urging Ethereum to halt the Glamsterdam upgrade in its current form, how coAn editorial illustration for the risks posed by proposed gas-accounting changes to existing Ethereum contracts.
AI 提示
Create a landscape editorial hero image for this Studio Global article: Why are prominent developers, including Curve Finance’s founder, urging Ethereum to halt the Glamsterdam upgrade in its current form, how co. Article summary: Developers are urging a pause because Glamsterdam’s gas changes could break already-deployed contracts—not merely make transactions more expensive—and potentially leave user funds inaccessible.[11] The confirmed response. Topic tags: general, general web, user generated. Style: premium digital editorial illustration, source-backed research mood, clean composition, high detail, modern web publication hero. Use reference image context only for broad subject, composition, and topical grounding; do not copy the exact image. Avoid: logos, brand marks, copyrighted characters, real person likenesses, fake screenshots, UI text, readable text, watermarks, charts with fa
openai.com
Glamsterdam 暂缓,并不是因为它可能单纯让交易变贵,而是因为拟议中的 gas 计费规则变化,可能让部分已经部署的智能合约以不同于预期的方式运行。以太坊基金会表示,在相关问题解决前,不会在 Hoodi 测试网上进行这次升级。8
EIP-8037 和 EIP-8038 改了什么?
EIP-8037 提高了创建链上状态的成本,并引入单独的状态 gas 计费方式;EIP-8038 则调整访问已有状态的 gas 成本。两项提案会改变某些操作的收费规则,而一些已部署合约可能把旧规则视为固定不变的前提。20238
问题在于,智能合约可能根据 gas 限额和 gas 消耗情况,判断一次操作是成功、失败,还是应当重试。若某项操作的 gas 成本或计费方式发生变化,这些判断就可能失准,尤其是在外部调用失败时。619
gas 假设如何改变合约行为
固定 gas 预算: 合约可能按照某项操作过去的成本,给另一个操作预留固定数量的 gas。如果相关状态操作变得更贵,预留的 gas 就可能不够用。基金会指出,部分项目确实依赖这些提案会改变的 gas 成本假设。89
通过 gasleft() 判断剩余 gas: ChainSecurity 解释,gasleft() 返回的是当前执行帧的执行 gas 余额;如果单独的状态 gas 储备耗尽,状态创建费用也可能从这部分余额中扣除。该机构提醒开发者,不要只根据调用后剩余的 gas 推断调用失败的原因:中间环节的回滚或 gas 补充,都可能让这种推断失效。19