Use explicit slot component timing configs (#15999)

* Use new timing configs (due BPS)

* Bastin's feedback
This commit is contained in:
terence
2025-11-13 16:55:32 -05:00
committed by GitHub
parent 7ba60d93f2
commit f77b78943a
35 changed files with 402 additions and 100 deletions

View File

@@ -54,7 +54,7 @@ func TestWaitForActivation_RefetchKeys(t *testing.T) {
params.SetupTestConfigCleanup(t)
cfg := params.MainnetConfig()
cfg.ConfigName = "test"
cfg.SecondsPerSlot = 1
cfg.SlotDurationMilliseconds = 1000
params.OverrideBeaconConfig(cfg)
hook := logTest.NewGlobal()
ctrl := gomock.NewController(t)
@@ -247,7 +247,7 @@ func TestWaitForActivation_AttemptsReconnectionOnFailure(t *testing.T) {
params.SetupTestConfigCleanup(t)
cfg := params.MainnetConfig()
cfg.ConfigName = "test"
cfg.SecondsPerSlot = 1
cfg.SlotDurationMilliseconds = 1000
params.OverrideBeaconConfig(cfg)
ctrl := gomock.NewController(t)
defer ctrl.Finish()