Run LLL contract tests with optimiser too

This commit is contained in:
Alex Beregszaszi 2017-07-18 22:52:18 +01:00
parent 01fbc63623
commit 407a6e1a0f
2 changed files with 2 additions and 2 deletions

View File

@ -345,7 +345,7 @@ protected:
if (!s_compiledEns) if (!s_compiledEns)
{ {
vector<string> errors; vector<string> errors;
s_compiledEns.reset(new bytes(compileLLL(ensCode, false, &errors))); s_compiledEns.reset(new bytes(compileLLL(ensCode, dev::test::Options::get().optimize, &errors)));
BOOST_REQUIRE(errors.empty()); BOOST_REQUIRE(errors.empty());
} }
sendMessage(*s_compiledEns, true); sendMessage(*s_compiledEns, true);

View File

@ -396,7 +396,7 @@ protected:
if (!s_compiledErc20) if (!s_compiledErc20)
{ {
vector<string> errors; vector<string> errors;
s_compiledErc20.reset(new bytes(compileLLL(erc20Code, false, &errors))); s_compiledErc20.reset(new bytes(compileLLL(erc20Code, dev::test::Options::get().optimize, &errors)));
BOOST_REQUIRE(errors.empty()); BOOST_REQUIRE(errors.empty());
} }
sendMessage(*s_compiledErc20, true); sendMessage(*s_compiledErc20, true);