Skip to content

Commit

Permalink
(NOBIDS) Added Gensis time stamp & validators root for Holesky
Browse files Browse the repository at this point in the history
  • Loading branch information
recy21 committed Sep 12, 2023
1 parent 04df8ea commit 5f15701
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions utils/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -581,6 +581,8 @@ func ReadConfig(cfg *types.Config, path string) error {
cfg.Chain.GenesisTimestamp = 1675263600
case "gnosis":
cfg.Chain.GenesisTimestamp = 1638993340
case "holesky":
cfg.Chain.GenesisTimestamp = 1694786400
default:
return fmt.Errorf("tried to set known genesis-timestamp, but unknown chain-name")
}
Expand All @@ -598,6 +600,8 @@ func ReadConfig(cfg *types.Config, path string) error {
cfg.Chain.GenesisValidatorsRoot = "0x53a92d8f2bb1d85f62d16a156e6ebcd1bcaba652d0900b2c2f387826f3481f6f"
case "gnosis":
cfg.Chain.GenesisValidatorsRoot = "0xf5dcb5564e829aab27264b9becd5dfaa017085611224cb3036f573368dbb9d47"
case "holesky":
cfg.Chain.GenesisValidatorsRoot = "0x9143aa7c615a7f7115e2b6aac319c03529df8242ae705fba9df39b79c59fa8b1"
default:
return fmt.Errorf("tried to set known genesis-validators-root, but unknown chain-name")
}
Expand Down

0 comments on commit 5f15701

Please sign in to comment.