Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
renaynay committed Jan 22, 2025
1 parent f3c915a commit fb61e8d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion store/store_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -277,10 +277,14 @@ func TestEDSStore(t *testing.T) {
square, roots := randomEDS(t)
randHeight := uint64(8)

has, err := edsStore.HasQ4ByHash(ctx, roots.Hash())
require.NoError(t, err)
assert.False(t, has)

err = edsStore.PutODSQ4(ctx, roots, randHeight, square)
require.NoError(t, err)

has, err := edsStore.HasQ4ByHash(ctx, roots.Hash())
has, err = edsStore.HasQ4ByHash(ctx, roots.Hash())
require.NoError(t, err)
assert.True(t, has)

Expand Down

0 comments on commit fb61e8d

Please sign in to comment.