Skip to content

Commit

Permalink
add goerli as alias for prater
Browse files Browse the repository at this point in the history
  • Loading branch information
pk910 committed Sep 11, 2023
1 parent a6f7e36 commit 4634360
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utils/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func ReadConfig(cfg *types.Config, path string) error {
switch cfg.Chain.Name {
case "mainnet":
err = yaml.Unmarshal([]byte(config.MainnetChainYml), &chainConfig)
case "prater":
case "goerli", "prater":
err = yaml.Unmarshal([]byte(config.PraterChainYml), &chainConfig)
case "sepolia":
err = yaml.Unmarshal([]byte(config.SepoliaChainYml), &chainConfig)
Expand Down Expand Up @@ -106,7 +106,7 @@ func ReadConfig(cfg *types.Config, path string) error {
switch cfg.Chain.Name {
case "mainnet":
cfg.Chain.GenesisTimestamp = 1606824023
case "prater":
case "goerli", "prater":
cfg.Chain.GenesisTimestamp = 1616508000
case "sepolia":
cfg.Chain.GenesisTimestamp = 1655733600
Expand Down

0 comments on commit 4634360

Please sign in to comment.