Skip to content

Commit

Permalink
eof: Fix library argument setting in deployCode
Browse files Browse the repository at this point in the history
  • Loading branch information
rodiazet committed Dec 9, 2024
1 parent 953a4ca commit 58bffbb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libsolidity/codegen/ir/IRGenerator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1015,6 +1015,7 @@ std::string IRGenerator::deployCode(ContractDefinition const& _contract)

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

0 comments on commit 58bffbb

Please sign in to comment.