Repository navigation
[Phase E5] Add atomic batch escrow creation - #147
Adesokan-2 wants to merge 3 commits into
Conversation
|
@Adesokan-2 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 |
|
@Adesokan-2 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. |
|
@afeezorobsco-cyber I merged the current main changes, fixed the batch creation CI failure, and added the regression tests and generated bindings. Please review and merge when ready. |
|
@Adesokan-2 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. |
|
@Adesokan-2 Heads-up: #268 just changed how contract PRs work in this repo. Your PR changes
This should also make your next merge from |
Adds
create_escrowsfor atomic creation of up to five escrows in one call. It validates items before transfer, checks aggregate balance deltas per token, returns IDs in input order, and identifies invalid item indexes through dedicated error codes. Includes regression coverage for mixed tokens, ordering, rollback, and the batch-size bound. The five-item cap is a conservative initial bound pending resource measurements.The generated SDK binding and testnet deployment are not updated in this change.
Closes #28