Repository navigation
fix(contract): report insufficient token pool on payout - #148
nasirudeenbadirudeen87-cloud wants to merge 6 commits into
Conversation
|
@nasirudeenbadirudeen87-cloud 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! 🚀 |
|
This PR has merge conflicts with |
|
@nasirudeenbadirudeen87-cloud Thanks for the PR. It can't be merged yet. To unblock it: Merge conflicts: this branch conflicts with Push to this same branch and CI will re-run. Once it's green and conflict-free, it'll be reviewed for merge. |
|
@nasirudeenbadirudeen87-cloud This PR now has merge conflicts with git fetch upstream # upstream = https://github.com/DocForum/docforum-escrow.git
git rebase upstream/main
# resolve the conflicts, re-run the tests, then:
git push --force-with-leaseThe usual culprits are shared files like Automated message. It won't repeat unless the PR conflicts again after your next push. |
562fb82 to
0337591
Compare
Upstream now uses discriminant 21 for InvalidRefundTo, so PoolInsufficient moves to 35 (next free code); the solvency check sits after the acceptance gate in settle(). Pass the new refund_to argument in the clawback test, regenerate the SDK bindings with the pinned Stellar CLI, and update the docs/snapshot to the new code.
afeezorobsco-cyber
left a comment
There was a problem hiding this comment.
Sweep: malware scan clean, CI green.
|
@nasirudeenbadirudeen87-cloud This PR now has merge conflicts with git fetch upstream # upstream = https://github.com/DocForum/docforum-escrow.git
git rebase upstream/main
# resolve the conflicts, re-run the tests, then:
git push --force-with-leaseThe usual culprits are shared docs like Automated message. It won't repeat unless the PR conflicts again after your next push. |
|
@afeezorobsco-cyber The current head passes the reported contract, generated-bindings, resource-baseline, fuzz, and malware checks, but GitHub still reports a merge conflict against current |
|
@afeezorobsco-cyber I merged current main and updated the payout solvency guard to compare each token balance with its aggregate funded liability. The full contract suite, focused clawback regression, release WASM build, generated-binding check, and resource baseline pass locally. PR #148 is mergeable and its refreshed malware scan passed. Please review the contract version ordering with other pending escrow changes and review the audit delta. |
|
@nasirudeenbadirudeen87-cloud This PR now has merge conflicts with git fetch upstream # upstream = https://github.com/DocForum/docforum-escrow.git
git rebase upstream/main
# resolve the conflicts, re-run the tests, then:
git push --force-with-leaseThe usual culprits are shared docs like Automated message. It won't repeat unless the PR conflicts again after your next push. |
|
@nasirudeenbadirudeen87-cloud Heads-up: #268 just changed how contract PRs work in this repo. Your PR changes
This should also make your next merge from |
Summary
PoolInsufficient(error 21) if the requested payout is not backed.Validation:
git diff --checkpassed. Tests/build were not run, per contributor workflow.Closes #38