-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix the get_latest_open_ledger_sequence method #820
base: main
Are you sure you want to change the base?
Conversation
WalkthroughThis pull request corrects the behavior of the Changes
Sequence Diagram(s)sequenceDiagram
participant T as Test
participant C as Client
participant L as Ledger Server
T->>C: Invoke get_latest_open_ledger_sequence(client)
C->>L: Request ledger with ledger_index="current"
L-->>C: Respond with ledger data (includes ledger_current_index)
C-->>T: Return ledger_current_index value after assertions
Assessment against linked issues
Suggested reviewers
Poem
Tip ⚡🧪 Multi-step agentic review comment chat (experimental)
📜 Recent review detailsConfiguration used: .coderabbit.yaml 📒 Files selected for processing (3)
⏰ Context from checks skipped due to timeout of 90000ms (3)
🔇 Additional comments (5)
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
High Level Overview of Change
Fixes #810
Reference documentation for the
ledger
RPC method: https://xrpl.org/docs/references/http-websocket-apis/public-api-methods/ledger-methods/ledger#request-formatContext of Change
Type of Change
Did you update CHANGELOG.md?
This is a Breaking Change. It changes the behavior of the external user-facing API.
However, if any user were using this method, they should have reported this bug sooner. This change can be integrated into the
main
branch without disrupting the workflow of any users because nobody seems to be using it.