Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
claravanstaden committed Jan 7, 2025
1 parent 647666c commit 1dc8c16
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 0 additions & 1 deletion relayer/relays/beacon/header/header_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
8 changes: 5 additions & 3 deletions relayer/relays/beacon/store/datastore_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 1dc8c16

Please sign in to comment.