Skip to content

Add guide on replaying a ledger with stellar-core - #2885

Merged
leighmcculloch merged 4 commits into
mainfrom
replay-ledger-close-meta-guide
Sep 30, 2026
Merged

leighmcculloch merged 4 commits into
mainfrom
replay-ledger-close-meta-guide

Conversation

@leighmcculloch

@leighmcculloch leighmcculloch commented Sep 29, 2026 •

Copy link
Copy Markdown
Member

What

Add a how-to guide on replaying a single ledger with stellar-core to collect its LedgerCloseMeta with diagnostic events, using a failed Mainnet contract call as the worked example.

Why

It's possible to do this, but discovering how is not intuitive.

Read It

https://developers-pr-2885.previews.kube001.services.stellar-ops.com/docs/build/guides/events/replay-ledger-close-meta

@github-actions github-actions Bot added the preview Preview builds for PRs by SDF employees. label Sep 29, 2026
@github-actions

Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot removed the preview Preview builds for PRs by SDF employees. label Sep 30, 2026
@github-actions github-actions Bot added the preview Preview builds for PRs by SDF employees. label Sep 30, 2026
@github-actions

Copy link
Copy Markdown
Contributor

@leighmcculloch
leighmcculloch marked this pull request as ready for review September 30, 2026 12:02
Copilot AI lite review requested due to automatic review settings September 30, 2026 12:02
@leighmcculloch
leighmcculloch merged commit ff3366b into main Sep 30, 2026
10 checks passed
@leighmcculloch
leighmcculloch deleted the replay-ledger-close-meta-guide branch September 30, 2026 12:02
Copilot stopped reviewing on behalf of leighmcculloch due to an error September 30, 2026 12:02
@github-actions github-actions Bot removed the preview Preview builds for PRs by SDF employees. label Sep 30, 2026
@github-actions

Copy link
Copy Markdown
Contributor

PR Preview: torn down

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.

Note

Copilot was unable to run its full agentic suite in this review.

Copilot review overview

Review effort: Lite
Findings: 1 Medium severity · 1 Low severity

Open (2)
What changed in this PR

Adds a new developer guide page describing how to replay a Stellar ledger using Stellar Core to re-generate LedgerCloseMeta (including diagnostic events), and makes it reachable via the site routes.

Changes:

  • Added a new docs page: “Replay a ledger to collect its LedgerCloseMeta”
  • Registered the new guide route in routes.txt
File Description
routes.txt Adds the docs route for the new replay guide so it’s discoverable/routable.
docs/​build/​guides/​events/​replay-ledger-close-meta.mdx New guide content explaining end-to-end replay, extraction, and diagnostic event analysis workflow.

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


```
Collect the LedgerCloseMeta for transaction ____ from ledger ____ and analyse from the diagnostic events why it failed. Follow the steps in:
https://developers.stellar.org/docs/build/guides/events/replay-ledger-close-meta.md
An AI coding agent can do all of this for you. Give it a prompt that links to this guide, like:

```
Collect the LedgerCloseMeta for transaction ____ from ledger ____ and analyse from the diagnostic events why it failed. Follow the steps in:
oceans404 added a commit that referenced this pull request Oct 21, 2026
New page under Contract Events guides, added to docs.json nav.
Admonitions and relative links converted to Mintlify conventions.

Checks: scope page + docs.json, parity 9 lines changed by conversion
only, guard clean, mint validate passed, broken-links at baseline 8,
page 200 and listed in the Events nav.
ElliotFriend pushed a commit that referenced this pull request Oct 21, 2026
Port of ff3366b to the Mintlify tree.

Refs #2885

Co-Authored-By: Claude Opus 5.5 <[email protected]>
ElliotFriend added a commit that referenced this pull request Oct 22, 2026
)

Replaces the Docusaurus site with Mintlify's converted tree (base bcec501),
with tooling trimmed to prettier, husky, redocly, the OpenRPC build, and the
mint CLI. Commits that landed on main after bcec501 were ported by hand.

Ported:
Refs #2448
Refs #2671
Refs #2672
Refs #2727
Refs #2827
Refs #2828
Refs #2837
Refs #2856
Refs #2857
Refs #2869
Refs #2871
Refs #2878
Refs #2880
Refs #2881
Refs #2885
Refs #2886
Refs #2890
Refs #2892
Refs #2893
Refs #2895
Refs #2900
Refs #2901
Refs #2902
Refs #2903
Refs #2905
Refs #2912
Refs #2913
Refs #2915
Refs #2918
Refs #2922

Merged into the branch:
Refs #2936
Refs #2937
Refs #2938
Refs #2940

Co-authored-by: alexistabak-cpu <[email protected]>
Co-authored-by: Emir Ayral <[email protected]>
Co-authored-by: John Wooten <[email protected]>
Co-authored-by: Kaan Kacar <[email protected]>
Co-authored-by: Leigh <[email protected]>
Co-authored-by: maz <[email protected]>
Co-authored-by: Michael Lip <[email protected]>
Co-authored-by: Scopuly <[email protected]>
Co-authored-by: stellar-triage-bot[bot] <333411864+stellar-triage-bot[bot]@users.noreply.github.com>
Co-authored-by: Steph <[email protected]>
Co-authored-by: urvisavla <[email protected]>
Co-authored-by: water-k-max <[email protected]>
Co-authored-by: Wlademyr Mendes <[email protected]>
Co-Authored-by: Claude Opus 5.5 <[email protected]>
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.

3 participants