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

Home is not requesting metadata information in the last 6 transaction #853

Closed Viterbo closed 1 month ago

Viterbo commented 2 months ago

Describe the bug Currently, the home page is not requesting the metadata for the contracts in the last 6 transactions query, causing the website to query each of the contract addresses in a separate query.

To Reproduce Steps to reproduce the behavior:

  1. Go to home
  2. open dev tools -> network
  3. filter by /v1/transactions?limit=6
  4. See it does not bring contract metadata
  5. change the filter to /v1/contract
  6. See there are many unnecessary queries