Skip to content
Closed
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
6 changes: 6 additions & 0 deletions beacon/params/params.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ func StateIndexFinalBlock(forkName string) uint64 {
switch forkName {
case "bellatrix", "capella", "deneb":
return StateIndexFinalBlockOld
case "electra", "fulu":
return StateIndexFinalBlockElectra
default:
return StateIndexFinalBlockElectra
}
Expand All @@ -60,6 +62,8 @@ func StateIndexSyncCommittee(forkName string) uint64 {
switch forkName {
case "bellatrix", "capella", "deneb":
return StateIndexSyncCommitteeOld
case "electra", "fulu":
return StateIndexSyncCommitteeElectra
default:
return StateIndexSyncCommitteeElectra
}
Expand All @@ -68,6 +72,8 @@ func StateIndexNextSyncCommittee(forkName string) uint64 {
switch forkName {
case "bellatrix", "capella", "deneb":
return StateIndexNextSyncCommitteeOld
case "electra", "fulu":
return StateIndexNextSyncCommitteeElectra
default:
return StateIndexNextSyncCommitteeElectra
}
Expand Down