helium / blockchain-http

An http API for the helium blockchain database
https://helium.com
Apache License 2.0
47 stars 18 forks source link

Broken cursor on roles endpoint #417

Open allenan opened 2 years ago

allenan commented 2 years ago

When querying a hotspot's roles endpoint, the cursor doesn't advance. For example, I'm querying /hotspots/:address/roles?filter_types=assert_location_v2, getting empty data and a cursor, using the cursor, and getting the same response with the same cursor. This seems to happen if the transaction in question was awhile ago. It works if querying a hotspot with a recent assert location txn, but querying one with assert locations in the past produces this cursor bug.

madninja commented 2 years ago

@allenan have an example of a hotspot that exhibits this, please?

madninja commented 2 years ago

bump @allenan

allenan commented 2 years ago

Think I dm’d one to you

On Apr 19, 2022, at 8:48 PM, Marc Nijdam @.***> wrote:

 bump @allenan

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.

madninja commented 2 years ago

Think I dm’d one to you

ah yeah thanks for the reminder