cosmos-sdk icon indicating copy to clipboard operation
cosmos-sdk copied to clipboard

test: x/tx/decode: add fuzzers for Decode + rejectNonADR027TxRaw

Open odeke-em opened this issue 2 years ago • 3 comments

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 avatar Jun 26 '23 00:06 odeke-em

@odeke-em your pull request is missing a changelog!

github-actions[bot] avatar Jun 26 '23 00:06 github-actions[bot]

Done and thank you @tac0turtle!

odeke-em avatar Jun 26 '23 17:06 odeke-em

Looks like you still need to run make lint-fix

julienrbrt avatar Jun 26 '23 23:06 julienrbrt