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:
Alex Beregszaszi
2022-11-21 14:56:46 +01:00
committed by Kamil Śliwak
parent 0b4b1045cf
commit eb8af2caec
13 changed files with 37 additions and 9 deletions
+2 -1
View File
@@ -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");