From 0caa233c63f444d3c21caa920a0a1540be902d61 Mon Sep 17 00:00:00 2001 From: rodiazet Date: Thu, 9 Jan 2025 11:05:54 +0100 Subject: [PATCH] Enable default test running for EOF --- test/TestCase.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/TestCase.cpp b/test/TestCase.cpp index 9505a2caafe5..91ac84410abb 100644 --- a/test/TestCase.cpp +++ b/test/TestCase.cpp @@ -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;