diff --git a/system-contracts/contracts/EvmInterpreter.yul b/system-contracts/contracts/EvmInterpreter.yul index 65ba9d8f6..fe6231662 100644 --- a/system-contracts/contracts/EvmInterpreter.yul +++ b/system-contracts/contracts/EvmInterpreter.yul @@ -543,6 +543,11 @@ object "EVMInterpreter" { evmGasLeft := chargeGas(evmGasLeft, 2) } + case 0x5A { // OP_GAS + evmGasLeft := chargeGas(evmGasLeft, 2) + + sp := pushStackItem(sp, evmGasLeft) + } case 0x5B {} // OP_JUMPDEST case 0x5F { // OP_PUSH0 let value := 0