Add fuzz testing for sig verification
Closed this issue · 3 comments
marktoda commented
Some fuzz / random tests that:
- generate a random order
- hash it
- change one or more order values at random
- assert hash changes
marktoda commented
Bonus points to sign original order and check that execution works, then change order and assert execution no longer works
azflin commented
FYI taking a slightly different approach than what you've suggested. IMO It's a bit complicated to generate a random order, and then change one or more order values at random. Just gonna start with a static order and then change one attribute at a time.