header-langage
简体中文
繁體中文
English
Tiếng Việt
한국어
日本語
ภาษาไทย
Türkçe
Scan to Download the APP
Partnered With:

Ethereum EIP-8488 Draft: Implementing a 'Clean Break' in Gas Pricing, Introducing Versioned Opcodes

BlockBeats news, November 9 - The Ethereum community recently submitted the EIP-8488 draft, titled "Versioned Opcodes for Gas Repricing." The core idea of the proposal is to introduce a parallel set of V2 opcodes whose Gas costs will follow new billing standards (EIP-8037 and EIP-8038). The draft stipulates that after network activation, newly deployed contracts can only contain V2 opcodes and must write the version number upon acceptance. Among them, the new cross-contract call instruction requires the target contract to also be V2 version, otherwise the call will fail. To completely distinguish between new and old rules, the V2 opcode set removes instructions such as GAS and GASLIMIT that expose internal Gas metering, to prevent new contracts from hardcoding old Gas consumption logic. All existing old contracts will continue to execute according to the old Gas schedule indefinitely.


The motivation for proposing this draft is to resolve the contradictions faced by the current upgrade. If the new Gas rules are directly applied across the board, it is very easy to impact existing contracts that rely on old Gas invariants; but if the new rules are postponed or canceled, it will delay the EIPs aimed at controlling state growth and significantly raising the Gas limit. EIP-8488 provides a third path: new bytecode follows new prices, old contracts are unaffected, and upgradeable systems naturally migrate when replacing implementations. As the proportion of V2 execution increases in the future and state growth remains controllable, Ethereum's Gas limit can be gradually raised. The proposal authors stated that the underlying construction of already deployed contracts should not change due to after-the-fact price increases, and if pricing is to be decoupled from application functionality, new contracts should not hardcode internal Gas pricing into logic. Currently, the proposal is in early draft (Draft) status.

举报 Correction/Report
RelatedRecommended
1. Resources in the Ethereum network are limited and priced by a single resource, "Gas", which is a measure of the amount of computational work required to process a particular transaction or block. 2. The concept of multidimensional Gas is implemented through EIP-4844 and can be used on Ethereum, helping to improve the security and efficiency of the network. 3. The Cancun upgrade introduced Blobs, a data space that facilitates convolution, reducing convolution costs and increasing transaction volume. 4. Multidimensional Gas can limit and charge storage access separately, as well as other resources such as state size growth, by setting different parameters to adjust Gas prices. 5. Implementing multidimensional Gas pricing requires deep changes to the EVM, which may increase challenges for developers, but these problems can be solved by implementing solutions similar to EIP-7623.
Aptos Labs showed its principles and procedures for formulating GAS, how to calculate GAS, adjustment of GAS fees in the later period, and actively accepted suggestions from the Aptos community
Berlin hard fork changes the gas cost of some opcodes
Correction/Report
Submit
Add Library
Visible to myself only
Public
Save
Choose Library
Add Library
Cancel
Finish