Hello,
Paginations seems to be broken. I'm trying to get first page of trades with link above:
https://horizon.stellar.org/accounts/GBERMYIQQ6IRI32MCK3CA4VMIWVQTV7UUWGNOZQKIIZYCZAQLFMNGVJZ/trades?limit=2&order=desc
Here is two objects having ids: 80887428323221505-2, 80882768283774977-2.
and link to next page:
https://horizon.stellar.org/accounts/GBERMYIQQ6IRI32MCK3CA4VMIWVQTV7UUWGNOZQKIIZYCZAQLFMNGVJZ/trades?cursor=80882768283774977-2&limit=2&order=desc
The next objects presented on page: 80882768283774977-2 and 80882768283774977-1. Firstly, one overlapped with previous page.
and then next page
https://horizon.stellar.org/accounts/GBERMYIQQ6IRI32MCK3CA4VMIWVQTV7UUWGNOZQKIIZYCZAQLFMNGVJZ/trades?cursor=80882768283774977-1&limit=2&order=desc
there are exactly same objects as for page 2. Additionaly, self and next are same, so we are unable to go next, while there should be totally 9 objects.
Thanks.
This is fixed in master (https://github.com/stellar/go/pull/492 ) but has not made it to a release yet
@tomerweller i'd faced with same issue. when it is going to be released?
A new release should be out and pushed to testnet by next week
@tomerweller
Tested on https://horizon-testnet.stellar.org/:
"horizon_version": "snapshot-a9b1a05",
"core_version": "stellar-core 9.2.0rc6 (b0923f153b86d394a83b2a619db6b23f07ed0700)",
"history_latest_ledger": 10284024,
"history_elder_ledger": 1,
"core_latest_ledger": 10284024,
"network_passphrase": "Test SDF Network ; September 2015",
"protocol_version": 9
Not fixed issue.
Most helpful comment
A new release should be out and pushed to testnet by next week