Repository navigation
Conversation
Preflight the combined transparent amount and include committed transaction IDs in partial-failure errors. Remove duplicate Spark mint commits and cover both budget and fee failures in the RPC test.
🤖 CodeAnt AI — Review Status
|
Thanks for using CodeAnt! 🎉We're free for open-source projects. if you're enjoying it, help us grow by sharing. Share on X · |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
CodeAnt-AI DescriptionShow committed payment IDs when mixed wallet sends fail What Changed
Impact
💡 Usage GuideChecking Your Pull RequestEvery time you make a pull request, our system automatically looks through it. We check for security issues, mistakes in how you're setting up your infrastructure, and common code problems. We do this to make sure your changes are solid and won't cause any trouble later. Talking to CodeAnt AIGot a question or need a hand with something in your pull request? You can easily get in touch with CodeAnt AI right here. Just type the following in a comment on your pull request, and replace "Your question here" with whatever you want to ask: This lets you have a chat with CodeAnt AI about your pull request, making it easier to understand and improve your code. ExamplePreserve Org Learnings with CodeAntYou can record team preferences so CodeAnt AI applies them in future reviews. Reply directly to the specific CodeAnt AI suggestion (in the same thread) and replace "Your feedback here" with your input: This helps CodeAnt AI learn and adapt to your team's coding style and standards. ExampleRetrigger reviewAsk CodeAnt AI to review the PR again, by typing: Check Your Repository HealthTo analyze the health of your code repository, visit our dashboard at https://app.codeant.ai. This tool helps you identify potential issues and areas for improvement in your codebase, ensuring your repository maintains high standards of code health. |
CodeAnt PR Risk: Medium Risk
Assessed commit: |
Purpose
Make partial completion visible in
sendtoaddressbatches with Spark and transparent recipients. The current wallet commits Spark mint transaction(s) before constructing a separate transparent transaction. If the latter fails, a Spark payment may already be committed.For this transparent-funded mint path, consensus allows Spark mint and transparent payment outputs in one transaction. The split is in the wallet implementation; this PR does not change it.
Changes
committed_txidswith a retry warning when a later failure follows a known commit.sendtoaddress.py; update RPC help.Verification
macOS arm64 daemon and CLI build;
qa/rpc-tests/sendtoaddress.pypasses on regtest.Remaining limitation
Mixed sends still use multiple transactions and are not atomic. A later failure can leave an earlier Spark mint committed; callers must inspect
committed_txidsbefore retrying.