Code transform fuzzer: Only test against latest EVM version.

This commit is contained in:
Bhargava Shastry 2022-01-27 14:49:44 +01:00
parent 597426bd1c
commit 4bcd69e7bd

View File

@ -60,8 +60,9 @@ DEFINE_PROTO_FUZZER(Program const& _input)
filterUnboundedLoops
);
string yul_source = converter.programToString(_input);
// Fuzzer also fuzzes the EVM version field.
langutil::EVMVersion version = converter.version();
// Do not fuzz the EVM Version field.
// See https://github.com/ethereum/solidity/issues/12590
langutil::EVMVersion version;
EVMHost hostContext(version, evmone);
hostContext.reset();