Skip to content

Commit

Permalink
fetch and update new ForkDigest for mainnet and prater
Browse files Browse the repository at this point in the history
  • Loading branch information
cortze committed Apr 13, 2023
1 parent 56dff72 commit 6828263
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pkg/networks/ethereum/network_info.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,33 +13,37 @@ var (
BlockchainName string = "eth2"

// default fork_digests
DefaultForkDigest string = ForkDigests[BellatrixKey]
DefaultForkDigest string = ForkDigests[CapellaKey]
AllForkDigest string = "All"

// Mainnet
Phase0Key string = "Mainnet"
AltairKey string = "Altair"
BellatrixKey string = "Bellatrix"
CapellaKey string = "Capella"
// Gnosis
GnosisPhase0Key string = "GnosisPhase0"
GnosisAltairKey string = "GnosisAltair"
GnosisBellatrixKey string = "Gnosisbellatrix"
// Goerli / Prater
PraterPhase0Key string = "PraterPhase0"
PraterBellatrixKey string = "PraterBellatrix"
PraterCapellaKey string = "PraterCapella"

ForkDigests = map[string]string{
AllForkDigest: "all",
// Mainnet
Phase0Key: "0xb5303f2a",
AltairKey: "0xafcaaba0",
BellatrixKey: "0x4a26c58b",
CapellaKey: "0xbba4da96",
// Gnosis
GnosisPhase0Key: "0xf925ddc5",
GnosisBellatrixKey: "0x56fdb5e0",
// Goerli
PraterPhase0Key: "0x79df0428",
PraterBellatrixKey: "0xc2ce3aa8",
PraterCapellaKey: "0x628941ef",
}

MessageTypes = []string{
Expand Down

0 comments on commit 6828263

Please sign in to comment.