Added the basefee instruction in YulInterpreter

This commit is contained in:
hrkrshnn
2021-08-09 16:18:08 +02:00
parent 95091f6b58
commit 543ccf5287
2 changed files with 4 additions and 1 deletions
@@ -220,6 +220,8 @@ u256 EVMInstructionInterpreter::eval(
return m_state.gasprice;
case Instruction::CHAINID:
return m_state.chainid;
case Instruction::BASEFEE:
return m_state.basefee;
case Instruction::EXTCODESIZE:
return u256(keccak256(h256(arg[0]))) & 0xffffff;
case Instruction::EXTCODEHASH: