diff --git a/relayer/relays/beacon/header/header_test.go b/relayer/relays/beacon/header/header_test.go index 88303e43c8..d5f28b5aa1 100644 --- a/relayer/relays/beacon/header/header_test.go +++ b/relayer/relays/beacon/header/header_test.go @@ -341,7 +341,6 @@ func TestFindLatestCheckPoint(t *testing.T) { settings := config.SpecSettings{ SlotsInEpoch: 4, EpochsPerSyncCommitteePeriod: 2, - DenebForkEpoch: 0, } maxRedundancy := uint64(2) p := protocol.New(settings, maxRedundancy) diff --git a/relayer/relays/beacon/store/datastore_test.go b/relayer/relays/beacon/store/datastore_test.go index e38207f55c..adaca06afd 100644 --- a/relayer/relays/beacon/store/datastore_test.go +++ b/relayer/relays/beacon/store/datastore_test.go @@ -19,14 +19,16 @@ func TestGetBeaconState(t *testing.T) { _ = os.RemoveAll(TestDataStoreFile + BeaconStateDir) _ = os.Remove(TestDataStoreFile + BeaconStoreName) - store := New(TestDataStoreFile, 100, *protocol.New(config.SpecSettings{ + specSettings := config.SpecSettings{ SlotsInEpoch: 32, EpochsPerSyncCommitteePeriod: 256, ForkVersions: config.ForkVersions{ Deneb: 0, Electra: 800000, - }, MaxRedundancy)) - })) + }, + } + store := New(TestDataStoreFile, 100, *protocol.New(specSettings, MaxRedundancy)) + err := store.Connect() require.NoError(t, err) defer func() {