Skip to content

Test/escrow fuzz funding sequences#135

Merged
mikewheeleer merged 6 commits intoLiquifact:mainfrom
nanaabdul1172:test/escrow-fuzz-funding-sequences
Apr 1, 2026
Merged

Test/escrow fuzz funding sequences#135
mikewheeleer merged 6 commits intoLiquifact:mainfrom
nanaabdul1172:test/escrow-fuzz-funding-sequences

Conversation

@nanaabdul1172
Copy link
Copy Markdown
Contributor

@nanaabdul1172 nanaabdul1172 commented Mar 28, 2026

closes #32 #135
The escrow test suite now includes high-variance randomized funding-sequence validation to strengthen confidence in invariant stability under realistic and adversarial contribution patterns, including varied actor counts, mixed contribution sizes, and long shuffled funding sequences. These tests verify that funded_amount is monotonic, that escrow status transitions occur only at the correct funding threshold, and that the sum of per-investor contributions always matches aggregate funded state, preventing accounting drift across complex execution paths. To support reproducibility and incident triage, failing randomized runs can be replayed deterministically using fixed PROPTEST_CASES and PROPTEST_SEED values, enabling exact local reproduction of CI failures while preserving broad scenario coverage for security-focused regression testing.

@drips-wave
Copy link
Copy Markdown

drips-wave bot commented Mar 28, 2026

@nanaabdul1172 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@mikewheeleer mikewheeleer merged commit 250ebc1 into Liquifact:main Apr 1, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Fuzz Tests for Randomized Funding Sequences

2 participants