Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: take care of the case where the requested height is above the head of latest da block height #90

Merged
merged 7 commits into from
Sep 3, 2024
Prev Previous commit
Next Next commit
Fix lint
yarikbratashchuk committed Aug 13, 2024

Verified

This commit was created on github.com and signed with GitHub’s verified signature.
commit 698b32ef84f5b360b220cbc8fda90f41a106841b
1 change: 1 addition & 0 deletions test/test_suite.go
Original file line number Diff line number Diff line change
@@ -151,6 +151,7 @@ func ConcurrentReadWriteTest(t *testing.T, d da.DA) {
wg.Wait()
}

// NoBlobsAtHeightTest tests the case when there are no blobs at a given height in DA
func NoBlobsAtHeightTest(t *testing.T, d da.DA) {
ctx := context.TODO()
_, err := d.GetIDs(ctx, 888888, []byte{})