aboutsummaryrefslogtreecommitdiffstats
path: root/test/contracts/LLL_ENS.cpp
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-07-19 05:52:18 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-07-19 05:52:18 +0800
commit407a6e1a0f9d40812567cf06dd9fac156ea4063d (patch)
treed80399f5e55c02c272e250d23a970cdbdfc70c94 /test/contracts/LLL_ENS.cpp
parent01fbc636239f78134b37f9dedeacf40455ee2e0c (diff)
downloaddexon-solidity-407a6e1a0f9d40812567cf06dd9fac156ea4063d.tar.gz
dexon-solidity-407a6e1a0f9d40812567cf06dd9fac156ea4063d.tar.zst
dexon-solidity-407a6e1a0f9d40812567cf06dd9fac156ea4063d.zip
Run LLL contract tests with optimiser too
Diffstat (limited to 'test/contracts/LLL_ENS.cpp')
-rw-r--r--test/contracts/LLL_ENS.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/contracts/LLL_ENS.cpp b/test/contracts/LLL_ENS.cpp
index 3df1546d..c5fe8a82 100644
--- a/test/contracts/LLL_ENS.cpp
+++ b/test/contracts/LLL_ENS.cpp
@@ -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);