mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-23 03:51:29 +00:00
d17996f8b0
* Update V3 from V4 * Fix build v3 -> v4 * Update ssz * Update beacon_chain.pb.go * Fix formatter import * Update update-mockgen.sh comment to v4 * Fix conflicts. Pass build and tests * Fix test
20 lines
735 B
Go
20 lines
735 B
Go
//go:build go1.18
|
|
|
|
package accounts_test
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/prysmaticlabs/prysm/v4/validator/accounts"
|
|
)
|
|
|
|
func FuzzValidateMnemonic(f *testing.F) {
|
|
f.Add("bag wagon luxury iron swarm yellow course merge trumpet wide decide cash idea disagree deny teach canvas profit slice beach iron sting warfare slide")
|
|
f.Add("bag wagon luxury iron swarm yellow course merge trumpet wide cash idea disagree deny teach canvas profit iron sting warfare slide")
|
|
f.Add("bag wagon luxury iron swarm yellow course merge trumpet cash wide decide profit cash idea disagree deny teach canvas profit slice beach iron sting warfare slide")
|
|
f.Fuzz(func(t *testing.T, input string) {
|
|
err := accounts.ValidateMnemonic(input)
|
|
_ = err
|
|
})
|
|
}
|