My earlier contract was compatible with solc@0.4.24. Now I am upgrading my contract to make it compatible with solidity 0.5 but it leads to an increase in bytecode size. AFAICT There is no change in the EVM. solidity 0.5 is the only high-level change. It shouldn't affect the EVM but increase in the bytecode size is questionable.

  • 3
    I think for someone to help with this, they'd have to see the code so they could compare the compiled output. – user19510 Jan 17 '19 at 5:04
  • 1
    It is possible that a bug fix or a new feature causes an increase in the generated bytecode because extra checks have to be done. – Ismael Jan 18 '19 at 5:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.