Why is there a Maximum bytecode to permit for a contract in Quorum?

i.e., MaxCodeSize = 24576 // Maximum bytecode to permit for a contract.

One should be allowed to deploy a smart contract of any size in a permissioned/private blockchain such as Quorum.


This is more of an Ethereum core question than Quorum. The size tho is determined by EVM processing and the logic is explained here: https://github.com/comaeio/porosity/wiki/Ethereum-Internals

  • Got it. Other than breaking down the contract, can one tweak the code size allowing one huge contract to be deployed? – Nathan Aw Jul 27 '18 at 0:25
  • i have updated the MaxCodeSize in protocol_params.go but it did not work. Oversized data is still return? Any workarounds? This is urgent – Nathan Aw Aug 10 '18 at 2:16

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.