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
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -396,6 +396,8 @@ message Program {
|
||||
PETERSBURG = 5;
|
||||
ISTANBUL = 6;
|
||||
BERLIN = 7;
|
||||
LONDON = 8;
|
||||
PARIS = 9;
|
||||
}
|
||||
oneof program_oneof {
|
||||
Block block = 1;
|
||||
|
||||
Reference in New Issue
Block a user