Skip to content

Commit

Permalink
Pass evmVersion and eofVersion to YulStack in ObjectCompilerTest
Browse files Browse the repository at this point in the history
  • Loading branch information
rodiazet committed Oct 10, 2024
1 parent 3edd2e1 commit 6cef957
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/libyul/ObjectCompilerTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ ObjectCompilerTest::ObjectCompilerTest(std::string const& _filename):
TestCase::TestResult ObjectCompilerTest::run(std::ostream& _stream, std::string const& _linePrefix, bool const _formatted)
{
YulStack stack(
EVMVersion(),
std::nullopt,
solidity::test::CommonOptions::get().evmVersion(),
solidity::test::CommonOptions::get().eofVersion(),
YulStack::Language::StrictAssembly,
OptimiserSettings::preset(m_optimisationPreset),
DebugInfoSelection::All()
Expand Down

0 comments on commit 6cef957

Please sign in to comment.