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 是 Ethereum 正在測試的下一次網絡升級,但開發團隊暫時踩了煞車:新方案改動部分操作的 Gas 計算方式,可能令一些已部署的智能合約不再按原先設計運作。Ethereum 基金會表示,相關問題解決前,不會在 Hoodi 測試網進行升級分叉。8
關鍵並非單純「交易費可能變貴」,而是有些合約把特定操作的 Gas 成本視為固定前提。若新規則令實際 Gas 消耗或計算方式改變,合約的呼叫預算、錯誤判斷及重試流程都可能受影響。
兩項提案改了甚麼?
EIP-8037 提高建立新狀態資料的成本,並引入另一套方式計算這類費用;EIP-8038 則調整存取既有狀態資料的 Gas 成本。兩項提案合起來,會改變部分操作如何收取及計算 Gas。20238
智能合約可以把 Gas 限額和剩餘 Gas 用作程式邏輯的一部分,例如判斷一次操作是否成功、是否應該回復,或能否再試一次。如果 Gas 規則變了,合約原本用來預測結果的假設便可能不再可靠,外部呼叫失敗時尤其值得留意。619
哪些合約邏輯可能受影響?
固定 Gas 預算: 合約可能按某項操作過往的成本,預留一個固定數量的 Gas 轉交給另一個操作。若相關狀態操作變得更耗 Gas,預留的額度便可能不夠。基金會指出,部分項目確實依賴這類可能被新提案改變的成本假設。89
檢查 gasleft(): ChainSecurity 解釋,gasleft() 回報的是執行框架尚餘的執行 Gas;若獨立的狀態 Gas 儲備用盡,建立狀態所需費用亦可能改由這筆餘額支付。ChainSecurity 提醒,不應單靠呼叫後剩餘的 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 是 Ethereum 正在測試的下一次網絡升級,但開發團隊暫時踩了煞車:新方案改動部分操作的 Gas 計算方式,可能令一些已部署的智能合約不再按原先設計運作。Ethereum 基金會表示,相關問題解決前,不會在 Hoodi 測試網進行升級分叉。8
關鍵並非單純「交易費可能變貴」,而是有些合約把特定操作的 Gas 成本視為固定前提。若新規則令實際 Gas 消耗或計算方式改變,合約的呼叫預算、錯誤判斷及重試流程都可能受影響。
兩項提案改了甚麼?
EIP-8037 提高建立新狀態資料的成本,並引入另一套方式計算這類費用;EIP-8038 則調整存取既有狀態資料的 Gas 成本。兩項提案合起來,會改變部分操作如何收取及計算 Gas。20238
智能合約可以把 Gas 限額和剩餘 Gas 用作程式邏輯的一部分,例如判斷一次操作是否成功、是否應該回復,或能否再試一次。如果 Gas 規則變了,合約原本用來預測結果的假設便可能不再可靠,外部呼叫失敗時尤其值得留意。619
哪些合約邏輯可能受影響?
固定 Gas 預算: 合約可能按某項操作過往的成本,預留一個固定數量的 Gas 轉交給另一個操作。若相關狀態操作變得更耗 Gas,預留的額度便可能不夠。基金會指出,部分項目確實依賴這類可能被新提案改變的成本假設。89
檢查 gasleft(): ChainSecurity 解釋,gasleft() 回報的是執行框架尚餘的執行 Gas;若獨立的狀態 Gas 儲備用盡,建立狀態所需費用亦可能改由這筆餘額支付。ChainSecurity 提醒,不應單靠呼叫後剩餘的 Gas 推斷失敗原因,因為中間層回復或 Gas 補回等情況,可能令這種判斷失準。19