Skip to content

Commit

Permalink
Add case for put key
Browse files Browse the repository at this point in the history
  • Loading branch information
skosito committed Mar 18, 2024
1 parent cff5322 commit 9293b72
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions common/ethereum/proof_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@ func TestProofGeneration(t *testing.T) {
require.NoError(t, err)
require.True(t, has)

err = proof.Put(key, proof.Values[0])
require.NoError(t, err)

key2 := proof2.Keys[2]
has, err = proof.Has(key2)
require.NoError(t, err)
Expand Down

0 comments on commit 9293b72

Please sign in to comment.