File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ func (c *ChainConfig) IsArbitrumNitro(num *big.Int) bool {
43
43
44
44
func (c * ChainConfig ) MaxCodeSize () uint64 {
45
45
if c .ArbitrumChainParams .MaxCodeSize == 0 {
46
- return MaxCodeSize
46
+ return DefaultMaxCodeSize
47
47
}
48
48
return c .ArbitrumChainParams .MaxCodeSize
49
49
}
Original file line number Diff line number Diff line change @@ -124,8 +124,8 @@ const (
124
124
DefaultElasticityMultiplier = 2 // Bounds the maximum gas limit an EIP-1559 block may have.
125
125
InitialBaseFee = 1000000000 // Initial base fee for EIP-1559 blocks.
126
126
127
- MaxCodeSize = 24576 // Maximum bytecode to permit for a contract
128
- MaxInitCodeSize = 2 * MaxCodeSize // Maximum initcode to permit in a creation transaction and create instructions
127
+ DefaultMaxCodeSize = 24576 // Maximum bytecode to permit for a contract
128
+ DefaultMaxInitCodeSize = 2 * DefaultMaxCodeSize // Maximum initcode to permit in a creation transaction and create instructions
129
129
130
130
// Precompiled contract gas prices
131
131
You can’t perform that action at this time.
0 commit comments