Tests for basefee as identifier in inline assembly

Also added basefee to `EVMVersion::hasOpcode(...)`
This commit is contained in:
hrkrshnn
2021-08-11 10:46:40 +02:00
parent 7f1a2be0fe
commit 892700d769
4 changed files with 39 additions and 2 deletions
+2 -1
View File
@@ -46,8 +46,9 @@ bool EVMVersion::hasOpcode(Instruction _opcode) const
return hasChainID();
case Instruction::SELFBALANCE:
return hasSelfBalance();
case Instruction::BASEFEE:
return hasBaseFee();
default:
return true;
}
}