Skip to content

soroban-rpc: Remove getEvents.endLedger param #375

@paulbellamy

Description

@paulbellamy

What problem does your feature solve?

In the getEvents method, endLedger and pagination.limit conflict somewhat, and having both is unnecessary.

What would you like to see?

We should remove endLedger, and just use startLedger combined with pagination.limit.

So that clients can detect when they are out-of-bounds, we should also make sure that startLedger errors if it is:

  • < oldest ledger this node has stored
  • > latestLedger

This is a very breaking change, so we'll need to update all the clients at the same time.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions