Skip to content

client.get_block broken due to highest accepted "limit" value 100, but we use 100000 #304

Open
@phoenixeliot

Description

@phoenixeliot

I'm finding that using the client as it is now, with the "limit" set to 10000 when fetching a block, I get an HTTP error "invalid input".

"limit": 100000,

By testing manually, I found that 100 is the highest value this will accept as of right now, and removes the error.

The library should be updated with the new limit here, and we might need new logic to paginate this request when the page has more than 100 blocks in it.

From a cursory glance it looks like there are other places with the number "10000" that may also need to be updated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions