Skip to content

Commit c95b330

Browse files
committed
add default blocks per hour data for a test case
1 parent f5e4671 commit c95b330

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

validator/service/service_test.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,9 @@ func setup(t *testing.T) (*ValidatorService, *beacontest.StubBeaconClient, *stub
7171
data: make(map[string]response),
7272
}
7373

74-
return NewValidator(l, headerClient, beacon, blob, cancel), headerClient, beacon, blob
74+
HoursOfBlobData := 5 * 2 * 60 // 2 hours of blob data at 5 blocks per minute
75+
76+
return NewValidator(l, headerClient, beacon, blob, cancel, HoursOfBlobData), headerClient, beacon, blob
7577
}
7678

7779
func TestValidatorService_OnFetchError(t *testing.T) {

0 commit comments

Comments
 (0)