Skip to content

Commit

Permalink
Merge pull request #505 from Crypt-iQ/mssmt_fuzz
Browse files Browse the repository at this point in the history
mssmt: fuzz test for CompressedProof
  • Loading branch information
guggero authored Sep 18, 2023
2 parents a02368b + d9bd28d commit 58a98b5
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions mssmt/fuzz_test.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package mssmt

import (
"bytes"
"testing"
)

func FuzzCompressedProof(f *testing.F) {
f.Fuzz(func(t *testing.T, data []byte) {
var compressedProof CompressedProof
_ = compressedProof.Decode(bytes.NewReader(data))
})
}

0 comments on commit 58a98b5

Please sign in to comment.