Skip to content

Commit

Permalink
Merge pull request #94 from prestonvanloon/capella
Browse files Browse the repository at this point in the history
Rename cappella -> capella
  • Loading branch information
pk910 authored Aug 16, 2024
2 parents 040199c + 24b486a commit 3e3296b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions clients/consensus/chainspec.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ type ChainSpec struct {
AltairForkEpoch *uint64 `yaml:"ALTAIR_FORK_EPOCH"`
BellatrixForkVersion phase0.Version `yaml:"BELLATRIX_FORK_VERSION"`
BellatrixForkEpoch *uint64 `yaml:"BELLATRIX_FORK_EPOCH"`
CappellaForkVersion phase0.Version `yaml:"CAPELLA_FORK_VERSION"`
CappellaForkEpoch *uint64 `yaml:"CAPELLA_FORK_EPOCH"`
CapellaForkVersion phase0.Version `yaml:"CAPELLA_FORK_VERSION"`
CapellaForkEpoch *uint64 `yaml:"CAPELLA_FORK_EPOCH"`
DenebForkVersion phase0.Version `yaml:"DENEB_FORK_VERSION"`
DenebForkEpoch *uint64 `yaml:"DENEB_FORK_EPOCH"`
ElectraForkVersion phase0.Version `yaml:"ELECTRA_FORK_VERSION"`
Expand Down
10 changes: 5 additions & 5 deletions handlers/index.go
Original file line number Diff line number Diff line change
Expand Up @@ -184,12 +184,12 @@ func buildIndexPageData() (*models.IndexPageData, time.Duration) {
Active: uint64(currentEpoch) >= *specs.BellatrixForkEpoch,
})
}
if specs.CappellaForkEpoch != nil && *specs.CappellaForkEpoch < uint64(18446744073709551615) {
if specs.CapellaForkEpoch != nil && *specs.CapellaForkEpoch < uint64(18446744073709551615) {
pageData.NetworkForks = append(pageData.NetworkForks, &models.IndexPageDataForks{
Name: "Cappella",
Epoch: *specs.CappellaForkEpoch,
Version: specs.CappellaForkVersion[:],
Active: uint64(currentEpoch) >= *specs.CappellaForkEpoch,
Name: "Capella",
Epoch: *specs.CapellaForkEpoch,
Version: specs.CapellaForkVersion[:],
Active: uint64(currentEpoch) >= *specs.CapellaForkEpoch,
})
}
if specs.DenebForkEpoch != nil && *specs.DenebForkEpoch < uint64(18446744073709551615) {
Expand Down
2 changes: 1 addition & 1 deletion handlers/slot.go
Original file line number Diff line number Diff line change
Expand Up @@ -687,7 +687,7 @@ func getSlotPageBlockData(blockData *services.CombinedBlockResponse, epochStatsV
}
}

if specs.CappellaForkEpoch != nil && uint64(epoch) >= *specs.CappellaForkEpoch {
if specs.CapellaForkEpoch != nil && uint64(epoch) >= *specs.CapellaForkEpoch {
pageData.BLSChangesCount = uint64(len(blsToExecChanges))
pageData.BLSChanges = make([]*models.SlotPageBLSChange, pageData.BLSChangesCount)
for i, blschange := range blsToExecChanges {
Expand Down

0 comments on commit 3e3296b

Please sign in to comment.