Open ghzlatarev opened 2 years ago
Check out what Brandon did in manta-pay pallet ( manual randomization, no framework )
Maybe we can try this tool https://github.com/rust-fuzz/cargo-fuzz Seems it's a solid tool which is being used by like wasmtime. And lots of bugs are found by it: https://github.com/rust-fuzz/trophy-case
Here's the doc: https://rust-fuzz.github.io/book/introduction.html
There's another alternative for fuzzing test: https://crates.io/crates/honggfuzz
And seems substrate has some ideas on fuzzing test. https://github.com/paritytech/polkadot-sdk/issues/251
Adding a degree of randomization in Manta's testing can be beneficial to catch more bugs. Use manta-pay's test randomization as reference.