LLLExecutionFramework doesn't support contractName/libraryAddresses

This commit is contained in:
Alex Beregszaszi
2016-11-29 21:54:28 +00:00
parent 94cae63390
commit 0f1d0304ee
+3
View File
@@ -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())