Merge pull request #2596 from ethereum/lll-test-optimiser

Run LLL contract tests with optimiser too
This commit is contained in:
Yoichi Hirai 2017-07-19 11:49:27 +02:00 committed by GitHub
commit e45e95f578
2 changed files with 2 additions and 2 deletions

View File

@ -345,7 +345,7 @@ protected:
if (!s_compiledEns)
{
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());
}
sendMessage(*s_compiledEns, true);

View File

@ -396,7 +396,7 @@ protected:
if (!s_compiledErc20)
{
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());
}
sendMessage(*s_compiledErc20, true);