Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update the fork digest list to support new testnets #66

Merged
merged 1 commit into from
Nov 28, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 15 additions & 3 deletions pkg/networks/ethereum/network_info.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ var (
Phase0Key string = "Mainnet"
AltairKey string = "Altair"
BellatrixKey string = "Bellatrix"
CapellaKey string = "Capella"
CapellaKey string = "Capella"
// Gnosis
GnosisPhase0Key string = "GnosisPhase0"
GnosisAltairKey string = "GnosisAltair"
Expand All @@ -29,6 +29,12 @@ var (
PraterPhase0Key string = "PraterPhase0"
PraterBellatrixKey string = "PraterBellatrix"
PraterCapellaKey string = "PraterCapella"
// Sepolia
SepoliaCapellaKey string = "SepoliaCapella"
// Holesky
HoleskyCapellaKey string = "HoleskyCapella"
// Deneb
DenebCancunKey string = "DenebCancun"

ForkDigests = map[string]string{
AllForkDigest: "all",
Expand All @@ -40,10 +46,16 @@ var (
// Gnosis
GnosisPhase0Key: "0xf925ddc5",
GnosisBellatrixKey: "0x56fdb5e0",
// Goerli
// Goerli-Prater
PraterPhase0Key: "0x79df0428",
PraterBellatrixKey: "0xc2ce3aa8",
PraterCapellaKey: "0x628941ef",
PraterCapellaKey: "0x628941ef",
// Sepolia
SepoliaCapellaKey: "0x47eb72b3",
// Holesky
HoleskyCapellaKey: "0x17e2dad3",
// Deneb
DenebCancunKey: "0xee7b3a32",
}

MessageTypes = []string{
Expand Down
Loading