Skip to content

Commit

Permalink
add default blocks per hour data for a test case
Browse files Browse the repository at this point in the history
  • Loading branch information
fahimahmedx committed Jun 17, 2024
1 parent f5e4671 commit c95b330
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion validator/service/service_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,9 @@ func setup(t *testing.T) (*ValidatorService, *beacontest.StubBeaconClient, *stub
data: make(map[string]response),
}

return NewValidator(l, headerClient, beacon, blob, cancel), headerClient, beacon, blob
HoursOfBlobData := 5 * 2 * 60 // 2 hours of blob data at 5 blocks per minute

return NewValidator(l, headerClient, beacon, blob, cancel, HoursOfBlobData), headerClient, beacon, blob
}

func TestValidatorService_OnFetchError(t *testing.T) {
Expand Down

0 comments on commit c95b330

Please sign in to comment.