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:
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