Skip to content

Commit 235ebc8

Browse files
committed
eof: Fix library argument setting in deployCode
1 parent 54efdc9 commit 235ebc8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libsolidity/codegen/ir/IRGenerator.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1015,6 +1015,7 @@ std::string IRGenerator::deployCode(ContractDefinition const& _contract)
10151015

10161016
if (eof)
10171017
{
1018+
t("library", _contract.isLibrary());
10181019
t("auxDataStart", std::to_string(CompilerUtils::generalPurposeMemoryStart));
10191020
solAssert(m_context.reservedMemorySize() <= 0xFFFF, "Reserved memory size exceeded maximum allowed EOF data section size.");
10201021
t("auxDataSize", std::to_string(m_context.reservedMemorySize()));

0 commit comments

Comments
 (0)