Ethereum developer Leo Glicic submitted a draft EIP proposing versioned opcodes to enable gas repricing while maintaining backward compatibility. Under the proposal, newly deployed contracts must use V2 opcodes and follow the gas schedule defined in EIP-8037/8038, while existing contracts continue operating under the legacy schedule. The V2 opcode set excludes gas introspection-related opcodes such as GAS and GASLIMIT — any contract containing them will fail deployment via rollback.
The draft also introduces DELEGATECALL_V2, which behaves similarly to standard DELEGATECALL but requires the target contract's code_version to be ≥ 2, otherwise it fails immediately. The design aims to allow future adjustments to gas costs without disrupting already-deployed contracts. The proposal remains in Draft status and has not been formally merged or implemented.
Ethereum Developer Proposes EIP for Versioned Opcodes to Enable Gas Repricing Without Breaking Existing Contracts
Avertissement : Le contenu proposé sur Phemex News est à titre informatif uniquement. Nous ne garantissons pas la qualité, l'exactitude ou l'exhaustivité des informations provenant d'articles tiers. Ce contenu ne constitue pas un conseil financier ou d'investissement. Nous vous recommandons vivement d'effectuer vos propres recherches et de consulter un conseiller financier qualifié avant toute décision d'investissement.
