diff --git a/system-contracts/contracts/EvmInterpreter.yul b/system-contracts/contracts/EvmInterpreter.yul index 9ac2ee27f..47ea65351 100644 --- a/system-contracts/contracts/EvmInterpreter.yul +++ b/system-contracts/contracts/EvmInterpreter.yul @@ -470,6 +470,11 @@ object "EVMInterpreter" { evmGasLeft := chargeGas(evmGasLeft, 3) } + case 0x33 { // OP_CALLER + sp := pushStackItem(sp, caller()) + + evmGasLeft := chargeGas(evmGasLeft, 2) + } // NOTE: We don't currently do full jumpdest validation // (i.e. validating a jumpdest isn't in PUSH data) case 0x56 { // OP_JUMP