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
+4
View File
@@ -112,6 +112,10 @@ EVMVersion ProtoConverter::evmVersionMapping(Program_Version const& _ver)
return EVMVersion::istanbul();
case Program::BERLIN:
return EVMVersion::berlin();
case Program::LONDON:
return EVMVersion::london();
case Program::PARIS:
return EVMVersion::paris();
}
}
+2
View File
@@ -396,6 +396,8 @@ message Program {
PETERSBURG = 5;
ISTANBUL = 6;
BERLIN = 7;
LONDON = 8;
PARIS = 9;
}
oneof program_oneof {
Block block = 1;