The Swiss Army knife to power JavaScript based client solutions ranging from Web apps/explorers over browser extensions to server-side clients like faucets/scrapers.
offset and limit keys don't work correctly. When I passed offset=4, limit=7, it just returned the result from the beginning. The response had the transactions of indexes 0-6.
Edit: To give you a bit more context on this issue, I am pasting the whole code snippet here.
This issue seems to be specific for that query. Which Cosmos SDK version are you using in your backend? What value do you get returned in total in the response?
It appears that the pagination does not work properly when calling QueryClient.queryUnverified().
Here's the pagination object I am passing into the function.
There are two issues I found in the response:
nextKey
is always an empty array.offset
andlimit
keys don't work correctly. When I passed offset=4, limit=7, it just returned the result from the beginning. The response had the transactions of indexes 0-6.Edit: To give you a bit more context on this issue, I am pasting the whole code snippet here.