Skip to content

Commit 3b85090

Browse files
committed
fix omitempty for DebugAddress, make it a pointer
1 parent 46ae330 commit 3b85090

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

params/config_arbitrum.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,10 @@ type ArbitrumChainParams struct {
5555
InitialArbOSVersion uint64
5656
InitialChainOwner common.Address
5757
GenesisBlockNum uint64
58-
MaxCodeSize uint64 `json:"MaxCodeSize,omitempty"` // Maximum bytecode to permit for a contract. 0 value implies params.DefaultMaxCodeSize
59-
MaxInitCodeSize uint64 `json:"MaxInitCodeSize,omitempty"` // Maximum initcode to permit in a creation transaction and create instructions. 0 value implies params.DefaultMaxInitCodeSize
60-
DebugBlock uint64 `json:"DebugBlock,omitempty"`
61-
DebugAddress common.Address `json:"DebugAddress,omitempty"`
58+
MaxCodeSize uint64 `json:"MaxCodeSize,omitempty"` // Maximum bytecode to permit for a contract. 0 value implies params.DefaultMaxCodeSize
59+
MaxInitCodeSize uint64 `json:"MaxInitCodeSize,omitempty"` // Maximum initcode to permit in a creation transaction and create instructions. 0 value implies params.DefaultMaxInitCodeSize
60+
DebugBlock uint64 `json:"DebugBlock,omitempty"`
61+
DebugAddress *common.Address `json:"DebugAddress,omitempty"`
6262
}
6363

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

0 commit comments

Comments
 (0)