Skip to content

Commit

Permalink
mssmt: fuzz test for CompressedProof
Browse files Browse the repository at this point in the history
  • Loading branch information
Crypt-iQ committed Sep 15, 2023
1 parent c64acbe commit d9bd28d
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 d9bd28d

Please sign in to comment.