Skip to content

Report projected CKB in live preflight#53

Merged
phroi merged 1 commit into
masterfrom
review/preflight-projected-ckb
May 28, 2026
Merged

Report projected CKB in live preflight#53
phroi merged 1 commit into
masterfrom
review/preflight-projected-ckb

Conversation

@phroi
Copy link
Copy Markdown
Member

@phroi phroi commented May 28, 2026

Why

Live preflight already reports actual owned plain CKB for reserve checks and projected total CKB for capital checks. Operators also need to see the projected available CKB value directly without mistaking it for spendable reserve capacity.

Changes

  • Add balances.CKB.projectedAvailable to live preflight output.
  • Keep balances.CKB.available and balances.CKB.spendable based on actual owned plain CKB cells.
  • Update focused preflight tests and docs to distinguish actual plain-cell values from projected accounting values.

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request adds a new projectedAvailable field to the CKB balances in the preflight report, updating the preflight script, its tests, and the documentation in the README files to explain the distinction between actual plain-cell values and projected accounting values. I have no feedback to provide.

@phroi phroi merged commit 139f2fa into master May 28, 2026
1 check passed
@phroi
Copy link
Copy Markdown
Member Author

phroi commented May 28, 2026

LGTM

Phroi %11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant