Skip to content

Fetch table rows from EOS in pages #98

@yarkinwho

Description

@yarkinwho

Currently when the frontend trys to fetch table rows from EOS, it will fetch v1/chain/get-table-rows in one shot instead of doing any paging.

The result will be limited to 10 rows by default. It is not enough if the FE want to read things like the ERC token list. Currently the limit is set to 20 in the query and can be further relaxed without caused major trouble given the amount of data per row is quite small.

In the future we should optimize the way we query the rows.

Note that current code can work for quite a while as long as we do not open the registration of tokens to public. So it's fine to ignore this issue in this case. But we should solve this issue when we are doing the rework of the FE for opening the registration to public.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions