mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Run LLL contract tests with optimiser too
This commit is contained in:
parent
01fbc63623
commit
407a6e1a0f
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user