Skip to content

fix: correct ledger cadence, minimum balance formula, and Horizon status - #2806

Open
ElliotFriend wants to merge 3 commits into
mainfrom
fix/raven-factual-corrections
Open

fix: correct ledger cadence, minimum balance formula, and Horizon status#2806
ElliotFriend wants to merge 3 commits into
mainfrom
fix/raven-factual-corrections

Conversation

@ElliotFriend

@ElliotFriend ElliotFriend commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

What

Three unrelated factual corrections, all filed by Stellar Raven. Each claim was re-verified against a primary source rather than against the issue text.

Issue File Change
#2805 docs/validators/README.mdx every 3-5 secondsevery 5-7 seconds
#2771 build/guides/transactions/sponsored-reserves.mdx drop + liabilities.selling from the minimum-balance formula, state the available-balance identity instead
#2771 learn/fundamentals/lumens.mdx define available balance where the page first uses the term
#2770 learn/migrate/evm/smart-contract-deployment.mdx the deprecated Horizon APIthe Horizon API (nearing end-of-life)

Evidence

Left out on purpose

Extracting the Horizon lifecycle sentence into a shared partial (#2770). Worth doing, but it is a refactor across four pages and does not belong in a one-word correction.

Checks

prettier -c clean, check-relative-links.sh passes, full pnpm build green.

Closes #2805
Closes #2771
Closes #2770

🤖 Generated with Claude Code

Each correction verified against a primary source, not the reporting issue:

- Ledger cadence: a 199-delta Pubnet sample had no close under 5s (median
  6s) and CAP-70 targets 5000ms, so "3-5 seconds" was wrong. Now matches
  the Stellar Stack page.
- Minimum balance: Core's getMinBalance excludes selling liabilities, and
  getAvailableBalance subtracts them separately from v10. Split the two.
- Horizon: the canonical pages say deprecation is still ahead, so the
  present-tense "deprecated" was contradictory.

Refs #2805, #2771, #2770

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings August 31, 2026 18:09

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Corrects three factual inaccuracies, but the minimum-balance formula still incorrectly multiplies “2 base reserves” by baseReserve.

Changes:

  • Updates ledger cadence to 5–7 seconds.
  • Separates minimum and available balance calculations.
  • Clarifies Horizon’s lifecycle status.

Recommendation: NEEDS-CHANGES — correct the remaining minimum-balance formula error.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
docs/validators/README.mdx Corrects ledger cadence.
docs/build/guides/transactions/sponsored-reserves.mdx Revises balance formulas.
docs/learn/migrate/evm/smart-contract-deployment.mdx Clarifies Horizon status.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread docs/build/guides/transactions/sponsored-reserves.mdx Outdated
@stellar-jenkins-ci

Copy link
Copy Markdown

Completes the third part of the sd-043 recommendation, which the previous
commit skipped. The Lumens page is where sponsored-reserves sends readers
for minimum balance, and it used "available balance" without defining it
or mentioning selling liabilities.

Also drops "base reserves" from the sponsored-reserves formula, since every
other term in the parentheses is a count and the product already multiplies
by baseReserve.

Refs #2771

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings August 31, 2026 18:19

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

Comment thread docs/learn/fundamentals/lumens.mdx Outdated
@stellar-jenkins-ci

Copy link
Copy Markdown

Replaces a comma splice on the Lumens page with the two-sentence
construction sponsored-reserves already used, and aligns the middle clause
so both pages word the minimum/available balance split the same way. The
sd-043 recommendation asked for one definition of each quantity, and two
different constructions were working against that.

Refs #2771

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings August 31, 2026 18:33

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated no new comments.

@stellar-jenkins-ci

Copy link
Copy Markdown

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

Labels

None yet

Projects

None yet

2 participants