You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pagination on the blocks returned from stake pools in GraphQL aren't working as expected. When querying with the (last:10) parameters only 9 blocks are being returned. However when querying with (before:"n", last:10), 10 blocks are returned. This is true for stake pools with 10 or more blocks.
Pagination on the blocks returned from stake pools in GraphQL aren't working as expected. When querying with the
(last:10)
parameters only9
blocks are being returned. However when querying with(before:"n", last:10)
,10
blocks are returned. This is true for stake pools with 10 or more blocks.Mandatory Information
jcli --full-version
-jcli 0.7.2 (HEAD-b5df0e0, release, macos [x86_64]) - [rustc 1.39.0 (4560ea788 2019-11-04)]
jormungandr --full-version
-jormungandr 0.7.2 (HEAD-b5df0e0, release, macos [x86_64]) - [rustc 1.39.0 (4560ea788 2019-11-04)]
To Reproduce
Steps to reproduce the behavior:
Query which fails to return 10 blocks (note this stake pool contains "721" blocks). Only the latest 9 blocks are being returned. (effectively page 1)
This query returns 10 blocks. (effectively page 2)
Expected behavior
Expecting 10 blocks to return when asked for 10 blocks and the stake pool contains at least 10 blocks.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: