cosmos-sdk/fuzz/tests/crypto_hd_newparamsfrompath_test.go
Emmanuel T Odeke dfb60e781b
test: fuzz: bring in fuzzers (#12152)
Adds fuzzers and passes we've built since 2020 and before, that use
oss-fuzz's continuous fuzzing infrastructure.

Fixes #7921.
2022-06-07 14:46:45 +02:00

16 lines
246 B
Go

//go:build gofuzz || go1.18
package tests
import (
"testing"
"github.com/cosmos/cosmos-sdk/crypto/hd"
)
func FuzzCryptoHDNewParamsFromPath(f *testing.F) {
f.Fuzz(func(t *testing.T, data []byte) {
hd.NewParamsFromPath(string(data))
})
}