Skip to content

Commit b897d5d

Browse files
authored
Merge pull request #12591 from ethereum/fuzz-latest-evm-version
Code transform fuzzer: Only test against latest EVM version.
2 parents 7a40785 + 4bcd69e commit b897d5d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/tools/ossfuzz/StackReuseCodegenFuzzer.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,9 @@ DEFINE_PROTO_FUZZER(Program const& _input)
6060
filterUnboundedLoops
6161
);
6262
string yul_source = converter.programToString(_input);
63-
// Fuzzer also fuzzes the EVM version field.
64-
langutil::EVMVersion version = converter.version();
63+
// Do not fuzz the EVM Version field.
64+
// See https://github.com/ethereum/solidity/issues/12590
65+
langutil::EVMVersion version;
6566
EVMHost hostContext(version, evmone);
6667
hostContext.reset();
6768

0 commit comments

Comments
 (0)