Skip to content

Commit 197f5ff

Browse files
minor fix
1 parent 4e7da04 commit 197f5ff

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

core/state_processor_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ func TestStateProcessorErrors(t *testing.T) {
128128
},
129129
}
130130
blockchain, _ = NewBlockChain(db, nil, nil, gspec, nil, beacon.New(ethash.NewFaker()), vm.Config{}, nil, nil)
131-
tooBigInitCode = [params.MaxInitCodeSize + 1]byte{}
131+
tooBigInitCode = [params.DefaultMaxInitCodeSize + 1]byte{}
132132
)
133133

134134
defer blockchain.Stop()

params/config_arbitrum.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ type ArbitrumChainParams struct {
2929
InitialArbOSVersion uint64
3030
InitialChainOwner common.Address
3131
GenesisBlockNum uint64
32-
MaxCodeSize uint64 `json:"MaxCodeSize,omitempty"` // Maximum bytecode to permit for a contract. 0 value implies params.MaxCodeSize
33-
MaxInitCodeSize uint64 `json:"MaxInitCodeSize,omitempty"` // Maximum initcode to permit in a creation transaction and create instructions. 0 value implies params.MaxInitCodeSize
32+
MaxCodeSize uint64 `json:"MaxCodeSize,omitempty"` // Maximum bytecode to permit for a contract. 0 value implies params.DefaultMaxCodeSize
33+
MaxInitCodeSize uint64 `json:"MaxInitCodeSize,omitempty"` // Maximum initcode to permit in a creation transaction and create instructions. 0 value implies params.DefaultMaxInitCodeSize
3434
}
3535

3636
func (c *ChainConfig) IsArbitrum() bool {

0 commit comments

Comments
 (0)