Skip to content

Commit

Permalink
Merge pull request #1864 from OffchainLabs/fix-chain-id-log
Browse files Browse the repository at this point in the history
Fix chain id logged in missing field warning
  • Loading branch information
joshuacolvin0 authored Sep 26, 2023
2 parents e022338 + ef96d4f commit b5aa75f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/nitro/nitro.go
Original file line number Diff line number Diff line change
Expand Up @@ -774,7 +774,7 @@ func applyChainParameters(ctx context.Context, k *koanf.Koanf, chainId uint64, c
if chainInfo.ParentChainIsArbitrum != nil {
parentChainIsArbitrum = *chainInfo.ParentChainIsArbitrum
} else {
log.Warn("Chain information parentChainIsArbitrum field missing, in the future this will be required", "chainId", chainId, "parentChainId", chainInfo.ParentChainId)
log.Warn("Chain information parentChainIsArbitrum field missing, in the future this will be required", "chainId", chainInfo.ChainConfig.ChainID, "parentChainId", chainInfo.ParentChainId)
_, err := chaininfo.ProcessChainInfo(chainInfo.ParentChainId, "", combinedL2ChainInfoFiles, "")
if err == nil {
parentChainIsArbitrum = true
Expand Down

0 comments on commit b5aa75f

Please sign in to comment.