mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
LLLExecutionFramework doesn't support contractName/libraryAddresses
This commit is contained in:
parent
94cae63390
commit
0f1d0304ee
@ -52,6 +52,9 @@ public:
|
|||||||
std::map<std::string, Address> const& _libraryAddresses = std::map<std::string, Address>()
|
std::map<std::string, Address> const& _libraryAddresses = std::map<std::string, Address>()
|
||||||
) override
|
) override
|
||||||
{
|
{
|
||||||
|
BOOST_REQUIRE(_contractName.empty());
|
||||||
|
BOOST_REQUIRE(_libraryAddresses.empty());
|
||||||
|
|
||||||
std::vector<std::string> errors;
|
std::vector<std::string> errors;
|
||||||
bytes bytecode = eth::compileLLL(_sourceCode, m_optimize, &errors);
|
bytes bytecode = eth::compileLLL(_sourceCode, m_optimize, &errors);
|
||||||
if (!errors.empty())
|
if (!errors.empty())
|
||||||
|
Loading…
Reference in New Issue
Block a user