Skip to content

Commit

Permalink
Enable default test running for EOF
Browse files Browse the repository at this point in the history
  • Loading branch information
rodiazet committed Jan 9, 2025
1 parent b09f411 commit ccfa0f9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/TestCase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,9 @@ void EVMVersionRestrictedTestCase::processBytecodeFormatSetting()
// EOF only available since Prague
solAssert(!eofVersion.has_value() ||solidity::test::CommonOptions::get().evmVersion() >= langutil::EVMVersion::prague());

std::string bytecodeFormatString = m_reader.stringSetting("bytecodeFormat", "legacy");
auto const compileViaYul = m_reader.stringSetting("compileViaYul", "unset");
std::string bytecodeFormatString
= m_reader.stringSetting("bytecodeFormat", compileViaYul == "false" ? "legacy" : "legacy,>=EOFv1");
if (bytecodeFormatString == "legacy,>=EOFv1" || bytecodeFormatString == ">=EOFv1,legacy")
return;

Expand Down

0 comments on commit ccfa0f9

Please sign in to comment.