Skip to content

Commit

Permalink
Merge pull request #15626 from ipsilon/eof-deploy-code-fix
Browse files Browse the repository at this point in the history
eof: Fix `library` argument setting in `deployCode`
  • Loading branch information
cameel authored Dec 9, 2024
2 parents 6c57878 + b1ce8a2 commit cb07520
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 cb07520

Please sign in to comment.