You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(fuzz): respect targeted/excluded senders in corpus abi_mutate
Addresses @0xalpharush's review comment on PR foundry-rs#13177: the sender mutation
in abi_mutate now uses select_random_sender_for_mutation() which respects
targetSender()/excludeSender() invariant test configurations, similar to
how PR foundry-rs#13090 implemented it for address mutations.
Changes:
- Added select_random_sender_for_mutation() in strategies/param.rs
- Added Clone derive to SenderFilters
- Updated abi_mutate() to accept optional SenderFilters parameter
- Store sender_filters in InvariantTest and pass to new_inputs()
- Redacted test values in invariant_warp_and_roll and
invariant_optimization_with_warp for CI stability
Co-authored-by: Amp <amp@ampcode.com>
Amp-Thread-ID: https://ampcode.com/threads/T-019bf93d-da9d-7669-a396-76401d31ec5e
0 commit comments