Repository navigation
feat(sdk): add escrow solvency checker - #195
inioluwanureni90-cell wants to merge 7 commits into
Conversation
|
@inioluwanureni90-cell 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! 🚀 |
|
@afeezorobsco-cyber The solvency checker PR is ready for review; please review and merge once the required checks pass. The current testnet deployment predates lifecycle events, so the CLI reports incomplete history until redeployment or indexing, as documented. |
|
@inioluwanureni90-cell fix CI |
|
This PR has merge conflicts with |
|
@inioluwanureni90-cell Thanks for the PR. It can't be merged yet. To unblock it: CI is failing. Here's what broke:
Please fix these errors and run the same steps locally before pushing ( 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. |
✅ Malware scan: cleanThe earlier findings are resolved as of |
|
@afeezorobsco-cyber I resolved the conflicts with main, added the lifecycle events to the current quorum-aware creation and settlement paths, and pushed the update. The focused solvency-events contract test passes. Please review and merge when ready. |
|
@inioluwanureni90-cell Thanks for pushing. The malware scan passed, but this PR still has merge conflicts with git fetch upstream
git rebase upstream/main
# resolve the conflicts (usually contracts/escrow/src/lib.rs, the create_escrow
# call sites in tests, ROADMAP.md and ARCHITECTURE_ESSENTIALS.md), then:
cargo test # commit any updated test_snapshots/
./scripts/check-generated-bindings.sh # regenerate the SDK bindings if it fails
git push --force-with-leaseOnce CI is green and the conflicts are gone, it can be merged. |
# Conflicts: # .github/workflows/ci.yml # ROADMAP.md # contracts/escrow/src/lib.rs # docs/threat-model.md
|
@afeezorobsco-cyber I resolved the conflicts with current main and verified the solvency lifecycle event test passes. The PR description has a standalone |
a380e66 to
0e09850
Compare
|
@inioluwanureni90-cell 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. |
# Conflicts: # contracts/escrow/src/lib.rs # sdk/package.json
|
The branch now includes the latest main and the conflicts are resolved. Settlement preserves both the payee callback and the lifecycle events, and the offline test script retains the solvency test. The PR description still includes Closes #78. @afeezorobsco-cyber, please review the updated PR and merge it once the checks pass. |
|
@inioluwanureni90-cell CI is failing on this branch against the latest SDK bindings match contract WASM Soroban contract (test + wasm build)
cd contracts/escrow && cargo build --target wasm32v1-none --release
stellar contract bindings typescript --wasm target/wasm32v1-none/release/docforum_escrow.wasm --output-dir /tmp/escrow-bindings --overwrite
cp /tmp/escrow-bindings/src/index.ts ../../sdk/src/generated/contract-client.ts( |
|
CI fixes pushed: updated the solvency test for the current |
|
@inioluwanureni90-cell 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. |
|
@inioluwanureni90-cell CI is failing on this branch against the latest Soroban contract (test + wasm build) Your change alters contract behaviour that the committed Soroban snapshots record. Run This PR also conflicts with |
|
@inioluwanureni90-cell Heads-up: #268 just changed how contract PRs work in this repo. Your PR changes
This should also make your next merge from |
Summary
Closes #78
Verification
solvency_eventscontract integration test passes.git diff --checkpass.