mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #2596 from ethereum/lll-test-optimiser
Run LLL contract tests with optimiser too
This commit is contained in:
commit
e45e95f578
@ -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);
|
||||||
|
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user