Skip to content

Commit

Permalink
fix: update error format returned by LoadKromaChainConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
jyc228 committed Mar 28, 2024
1 parent ba9b4e5 commit 30ff5fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion params/superchain.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ func OPStackChainNames() (out []string) {
func LoadKromaChainConfig(chainID uint64) (*ChainConfig, error) {
kromaChainConfig, ok := KromaChainConfigs[chainID]
if !ok {
return nil, fmt.Errorf("unknown chain id %q", chainID)
return nil, fmt.Errorf("unknown chain id %d", chainID)
}

genesisActivation := uint64(0)
Expand Down

0 comments on commit 30ff5fe

Please sign in to comment.