Closed 0xDones closed 1 month ago
Even when the option maxCodeSize is provided the field config.contractSizeLimit is not created for besu genesis. I think it would be just a matter of adding the code below to the createBesuGenesis function on the file src/lib/genesisGenerate.ts
maxCodeSize
config.contractSizeLimit
createBesuGenesis
src/lib/genesisGenerate.ts
besu.config.contractSizeLimit = quorumConfig.maxCodeSize;
According to the docs, this is a field I should set for running besu on K8s: https://besu.hyperledger.org/private-networks/how-to/configure/free-gas#2-set-the-contract-size
Thank you for addressing this as I have a crude workaround to get contract sizes to 65K per...
fixed in v 0.2.17
Description
Even when the option
maxCodeSize
is provided the fieldconfig.contractSizeLimit
is not created for besu genesis. I think it would be just a matter of adding the code below to thecreateBesuGenesis
function on the filesrc/lib/genesisGenerate.ts
According to the docs, this is a field I should set for running besu on K8s: https://besu.hyperledger.org/private-networks/how-to/configure/free-gas#2-set-the-contract-size