Skip to content

: Restore escrow solvency checks, secure signing secrets, and make po… - #750

Merged
chonilius merged 1 commit into
MergeFi:mainfrom
D-Bluemoon:D-Bluemoon-maintenance-pool
Oct 20, 2026
Merged

chonilius merged 1 commit into
MergeFi:mainfrom
D-Bluemoon:D-Bluemoon-maintenance-pool

Conversation

@D-Bluemoon

Copy link
Copy Markdown
Contributor

Description

Closes #534
Closes #535
Closes #536
Closes #539

Added a deterministic randomized escrow test that checks the contract’s token balance covers all funded escrows after each fund, contribute, release, or refund operation in contracts/escrow/src/test.rs.
Removed positional signing-secret support from scripts/deploy.mjs and scripts/invoke.mjs; updated their CLI tests and the sample flow to use environment variables.
Changed maintenance-pool reclaim to return each sponsor’s pro-rata share of the current balance, with a regression test for two sponsors and prior withdrawals. Updated the behavior description in README.md.

Validation

Focused deploy/invoke CLI tests: 5 passed.
cargo check -p mergefi-maintenance-pool --lib: passed.
git diff --check: passed.
Rust tests could not run: the checked-in escrow source has an unexpected closing delimiter, and the maintenance-pool test file has a pre-existing unclosed function. Full npm test also reports three failures in existing parseArg tests.

@D-Bluemoon
D-Bluemoon requested a review from chonilius as a code owner October 19, 2026 23:59
@vercel

vercel Bot commented Oct 19, 2026

Copy link
Copy Markdown

@D-Bluemoon is attempting to deploy a commit to the chonilius' projects Team on Vercel.

A member of the Team first needs to authorize it.

@drips-wave

drips-wave Bot commented Oct 19, 2026

Copy link
Copy Markdown

@D-Bluemoon 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

@chonilius
chonilius merged commit ceac2e3 into MergeFi:main Oct 20, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment