mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Add basic support for the EVM version Paris
This mostly means testing with evmone, but instruction renaming of difficulty->prevrandao is omitted.
This commit is contained in:
committed by
Kamil Śliwak
parent
0b4b1045cf
commit
eb8af2caec
+2
-1
@@ -122,7 +122,8 @@ EVMHost::EVMHost(langutil::EVMVersion _evmVersion, evmc::VM& _vm):
|
||||
m_evmRevision = EVMC_BERLIN;
|
||||
else if (_evmVersion == langutil::EVMVersion::london())
|
||||
m_evmRevision = EVMC_LONDON;
|
||||
// TODO: support EVMVersion::paris()
|
||||
else if (_evmVersion == langutil::EVMVersion::paris())
|
||||
m_evmRevision = EVMC_PARIS;
|
||||
else
|
||||
assertThrow(false, Exception, "Unsupported EVM version");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user