aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2016-11-28 19:50:07 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2016-11-30 05:54:28 +0800
commit0f1d0304eef9777c002f86134e4d6ec7b4d53385 (patch)
treed4a6be1991594e8a27089da743b8597210072e93
parent94cae6339063fb6c33dc477991ac3d0933dc562f (diff)
downloaddexon-solidity-0f1d0304eef9777c002f86134e4d6ec7b4d53385.tar.gz
dexon-solidity-0f1d0304eef9777c002f86134e4d6ec7b4d53385.tar.zst
dexon-solidity-0f1d0304eef9777c002f86134e4d6ec7b4d53385.zip
LLLExecutionFramework doesn't support contractName/libraryAddresses
-rw-r--r--test/liblll/ExecutionFramework.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/liblll/ExecutionFramework.h b/test/liblll/ExecutionFramework.h
index 37162e7f..58e1f0ad 100644
--- a/test/liblll/ExecutionFramework.h
+++ b/test/liblll/ExecutionFramework.h
@@ -52,6 +52,9 @@ public:
std::map<std::string, Address> const& _libraryAddresses = std::map<std::string, Address>()
) override
{
+ BOOST_REQUIRE(_contractName.empty());
+ BOOST_REQUIRE(_libraryAddresses.empty());
+
std::vector<std::string> errors;
bytes bytecode = eth::compileLLL(_sourceCode, m_optimize, &errors);
if (!errors.empty())