Conversation
Contributor
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
12 of 15 tasks
Collaborator
|
🕓 Review not started yet because this PR is a draft.
Commit 5c51b40. Normal review starts when eligible; priority review starts as soon as a slot is available. |
… outgoing Preserve the final PR scope, including merge resolutions, on the updated native stack. Co-Authored-By: Codex <noreply@openai.com>
lklimek
changed the base branch from
feat/sqlite-wallet-restore
to
fix/sqlite-platform-address-snapshot
November 24, 2026 11:31
…eplay tests Co-Authored-By: Codex <noreply@openai.com>
Co-Authored-By: Codex <noreply@openai.com>
lklimek
force-pushed
the
fix/asset-lock-credit-direction
branch
from
November 24, 2026 11:52
df0c158 to
5c51b40
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
TL;DR
What this does: Shows an asset lock as a payment when it funds someone else's Platform credits, instead of as a transfer within the wallet.
Value: Wallet history no longer labels money sent to another party as moving between the wallet's own accounts.
Risks: Work in progress. The amount shown is already correct; only the direction label changes. No consensus change.
Issue being fixed or feature implemented
Follow-up to #5150, addressing its review threads on asset-lock direction (CodeRabbit, thepastaclaw).
As a wallet user, I want an asset lock that pays another party's Platform credits to appear as outgoing, so my history does not present it as a self-transfer.
Actual behavior
An asset lock spending the wallet's coins, with no ordinary output leaving the wallet, is labelled
Internaleven when its credit outputs pay keys the wallet does not own. The wallet's own builder never produces this shape; it requires an externally built transaction signed with the wallet's keys.Expected behavior
The lock is
Internalonly when the wallet owns every credit output; otherwise it isOutgoing.What was done?
Work in progress. Planned:
How Has This Been Tested?
Pending — foreign-credit regression tests for live accounting and SQLite repair.
Breaking Changes
None expected. To be confirmed once the public
wallet_direction/wallet_accountingsignatures settle.Checklist:
🤖 Generated with Claude Code
🤖 Co-authored by Claudius the Magnificent AI Agent