mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Tests for basefee as identifier in inline assembly
Also added basefee to `EVMVersion::hasOpcode(...)`
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user