cosmos-sdk
cosmos-sdk copied to clipboard
test: x/tx/decode: add fuzzers for Decode + rejectNonADR027TxRaw
This change adds fuzzers for (*Decoder).Decode as well as rejectNonADR027TxRaw. Adds more hints to finding crashers by mutating a tx using an inline struct mutator from github.com/google/gofuzz which indeed adds more coverages and finds a new crasher in less than 2 minutes.
/cc @elias-orijtech
@odeke-em your pull request is missing a changelog!
Done and thank you @tac0turtle!
Looks like you still need to run make lint-fix