telosnetwork / teloscan

Telos EVM block explorer for viewing blocks, transactions, contracts, staking, and more
https://teloscan.io
Apache License 2.0
22 stars 25 forks source link

Loading all transaction records on table navigation #244

Open donnyquixotic opened 1 year ago

donnyquixotic commented 1 year ago

Description

Right now there is a hard cap on # of records loaded for transactions with no way to see earlier records. For example, viewing this contract, you can see a hard cap of 10k transactions but when you visit the block you can see an earlier tx on the same contract.

Proposed Solution

Screenshots image image

Notes

@poplexity

ezra-sg commented 1 year ago

a little more info for grooming, this shows up on the homepage and address page. Transactions are, like Don said, limited to 10k regardless of the actual number. the query being used is here,

await this.$evmEndpoint.get(
    `/v2/evm/get_transactions?hash=${this.hash}`,
);

where the endpoint is ultimately 'https://mainnet.telos.net'

the result is here: image

note where it says data - total - gte (greater than or equal to) 10,000. so it seems on the backend somewhere there is a limit of 10k. that number does not come from the frontend. further investigation required

karynemayer commented 1 year ago

@donnyquixotic would you mind taking a look at this one and updating the description accordingly?