diff --git a/clients/consensus/chainspec.go b/clients/consensus/chainspec.go index 3bb2b347..80ee5663 100644 --- a/clients/consensus/chainspec.go +++ b/clients/consensus/chainspec.go @@ -34,8 +34,8 @@ type ChainSpec struct { DenebForkEpoch *uint64 `yaml:"DENEB_FORK_EPOCH"` ElectraForkVersion phase0.Version `yaml:"ELECTRA_FORK_VERSION" check-if-fork:"ElectraForkEpoch"` ElectraForkEpoch *uint64 `yaml:"ELECTRA_FORK_EPOCH"` - Eip7594ForkVersion phase0.Version `yaml:"EIP7594_FORK_VERSION" check-if-fork:"Eip7594ForkEpoch"` - Eip7594ForkEpoch *uint64 `yaml:"EIP7594_FORK_EPOCH"` + FuluForkVersion phase0.Version `yaml:"FULU_FORK_VERSION" check-if-fork:"FuluForkEpoch"` + FuluForkEpoch *uint64 `yaml:"FULU_FORK_EPOCH"` SecondsPerSlot time.Duration `yaml:"SECONDS_PER_SLOT"` SlotsPerEpoch uint64 `yaml:"SLOTS_PER_EPOCH"` EpochsPerHistoricalVector uint64 `yaml:"EPOCHS_PER_HISTORICAL_VECTOR"` @@ -60,9 +60,9 @@ type ChainSpec struct { MinActivationBalance uint64 `yaml:"MIN_ACTIVATION_BALANCE"` // EIP7594: PeerDAS - NumberOfColumns *uint64 `yaml:"NUMBER_OF_COLUMNS" check-if-fork:"Eip7594ForkEpoch"` - DataColumnSidecarSubnetCount *uint64 `yaml:"DATA_COLUMN_SIDECAR_SUBNET_COUNT" check-if-fork:"Eip7594ForkEpoch"` - CustodyRequirement *uint64 `yaml:"CUSTODY_REQUIREMENT" check-if-fork:"Eip7594ForkEpoch"` + NumberOfColumns *uint64 `yaml:"NUMBER_OF_COLUMNS" check-if-fork:"FuluForkEpoch"` + DataColumnSidecarSubnetCount *uint64 `yaml:"DATA_COLUMN_SIDECAR_SUBNET_COUNT" check-if-fork:"FuluForkEpoch"` + CustodyRequirement *uint64 `yaml:"CUSTODY_REQUIREMENT" check-if-fork:"FuluForkEpoch"` // additional dora specific specs WhiskForkEpoch *uint64 diff --git a/handlers/index.go b/handlers/index.go index 1005ef35..35eee4a6 100644 --- a/handlers/index.go +++ b/handlers/index.go @@ -208,12 +208,12 @@ func buildIndexPageData() (*models.IndexPageData, time.Duration) { Active: uint64(currentEpoch) >= *specs.ElectraForkEpoch, }) } - if specs.Eip7594ForkEpoch != nil && *specs.Eip7594ForkEpoch < uint64(18446744073709551615) { + if specs.FuluForkEpoch != nil && *specs.FuluForkEpoch < uint64(18446744073709551615) { pageData.NetworkForks = append(pageData.NetworkForks, &models.IndexPageDataForks{ - Name: "eip7594", - Epoch: *specs.Eip7594ForkEpoch, - Version: specs.Eip7594ForkVersion[:], - Active: uint64(currentEpoch) >= *specs.Eip7594ForkEpoch, + Name: "Fulu", + Epoch: *specs.FuluForkEpoch, + Version: specs.FuluForkVersion[:], + Active: uint64(currentEpoch) >= *specs.FuluForkEpoch, }) }