Commit fb504a5
committed
Allow address to stay the same during shrinking
The current shrinking implementation has a bug/limitation: it always
tries to shrink the sender. In other words, if a transaction has a
sender that is not minimal, Echidna will try to reduce it. However,
the transaction might require a different sender to still cause
the assertion failure, and the fact that Echidna will unconditionally
try to lower it might cause the shrinking to get 'stuck'.
This allows the sender shrinker to keep the transaction source the
same with some probability, allowing the shrinking to proceed in
such cases.1 parent 6d09bc2 commit fb504a5
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
131 | | - | |
| 131 | + | |
132 | 132 | | |
133 | 133 | | |
0 commit comments