Skip to content
This repository has been archived by the owner on Jan 16, 2025. It is now read-only.

Commit

Permalink
max code size to 40kb
Browse files Browse the repository at this point in the history
  • Loading branch information
calbera committed Jul 28, 2023
1 parent 70a66dc commit bedaf86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion params/protocol_params.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ const (
DefaultElasticityMultiplier = 2 // Bounds the maximum gas limit an EIP-1559 block may have.
InitialBaseFee = 1000000000 // Initial base fee for EIP-1559 blocks.

MaxCodeSize = 32768 // Maximum bytecode to permit for a contract
MaxCodeSize = 40000 // Maximum bytecode to permit for a contract
MaxInitCodeSize = 2 * MaxCodeSize // Maximum initcode to permit in a creation transaction and create instructions

// Precompiled contract gas prices
Expand Down

0 comments on commit bedaf86

Please sign in to comment.