Skip to content

Conversation

@elizabethengelman
Copy link
Collaborator

@elizabethengelman elizabethengelman commented Jun 12, 2025

What

Add a stellar ledger latest command to get the latest ledger for the given network. Defaults to testnet.

It also defaults to the text output, which looks like this:

stellar ledger latest

Sequence: 1468935
Protocol Version: 22
ID: 41a18d68e814201db155ee754c1f4523f899dc31a234cb1d6435030d97ddb94f

--output json and --output json-formatted are also available.

Why

To allow for users to easily look up that latest ledger from the CLI.

Known limitations

N/A

@github-project-automation github-project-automation bot moved this to Backlog (Not Ready) in DevX Jun 12, 2025
@elizabethengelman elizabethengelman marked this pull request as ready for review June 12, 2025 19:32
Copy link
Member

@leighmcculloch leighmcculloch left a comment

Choose a reason for hiding this comment

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

Looks good. One question inline.

Copy link
Member

@leighmcculloch leighmcculloch left a comment

Choose a reason for hiding this comment

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

Couple small requests inline.

elizabethengelman and others added 2 commits June 17, 2025 17:29
Co-authored-by: Leigh McCulloch <351529+leighmcculloch@users.noreply.github.com>
Copy link
Member

@leighmcculloch leighmcculloch left a comment

Choose a reason for hiding this comment

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

Small tweaks suggested, otherwise looks great 👍🏻

Co-authored-by: Leigh McCulloch <351529+leighmcculloch@users.noreply.github.com>
@elizabethengelman elizabethengelman enabled auto-merge (squash) June 18, 2025 18:15
elizabethengelman and others added 2 commits June 19, 2025 10:08
Co-authored-by: Leigh McCulloch <351529+leighmcculloch@users.noreply.github.com>
@elizabethengelman elizabethengelman merged commit ab08bc1 into main Jun 19, 2025
35 checks passed
@elizabethengelman elizabethengelman deleted the feat/ledger-latest branch June 19, 2025 15:15
@github-project-automation github-project-automation bot moved this from Backlog (Not Ready) to Done in DevX Jun 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants