Skip to content

Commit

Permalink
Update beacon-chain/core/light-client/lightclient_test.go
Browse files Browse the repository at this point in the history
Co-authored-by: Radosław Kapka <[email protected]>
  • Loading branch information
rupam-04 and rkapka authored Jan 31, 2025
1 parent 7f317c1 commit e27dac8
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions beacon-chain/core/light-client/lightclient_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,13 @@ func TestLightClient_NewLightClientOptimisticUpdateFromBeaconState(t *testing.T)
})

t.Run("Electra", func(t *testing.T) {
params.SetupTestConfigCleanup(t)
cfg := params.BeaconConfig()
cfg.AltairForkEpoch = 1
cfg.CapellaForkEpoch = 2
cfg.DenebForkEpoch = 3
cfg.ElectraForkEpoch = 4
cfg.BellatrixForkEpoch = 2
cfg.CapellaForkEpoch = 3
cfg.DenebForkEpoch = 4
cfg.ElectraForkEpoch = 5
params.OverrideBeaconConfig(cfg)

l := util.NewTestLightClient(t).SetupTestElectra(false)
Expand Down

0 comments on commit e27dac8

Please sign in to comment.