subql icon indicating copy to clipboard operation
subql copied to clipboard

"FETCH BLOCKS LIGHT" flooding node-ethereum logs

Open filo87 opened this issue 1 year ago • 0 comments

Prerequisites

  • [X] Are you running the latest version(s)?
  • [X] Have you searched the documentation for your issue?
  • [x] Did you search for an existing issue or pull request?

Description

Running the ethereum indexer with --skipTransactions=true results in logs being flooded by the string FETCH BLOCKS LIGHT

Details

These details can help to reproduce the environment the issue is occurring

Local Environment: [You can get this information from executing subql version.] Query Version: [What is the version of the query service?] Indexer Version: [What is the version of the indexer service?] Network Details:

  • [Network]
  • [Block height, a block height where the issue is happening]
  • [Dictionary endpoint, if used]

Steps to Reproduce

  1. Start an ethereum node indexer on any chain with --skipTransactions=true

Expected behavior: Logs are not flooded

Actual behavior: logs being flooded by the string FETCH BLOCKS LIGHT

Any other information

Possible fix: remove the following line https://github.com/subquery/subql-ethereum/blob/a85511f35682c3987e28c8f547dbfa7566b14d41/packages/node/src/ethereum/api.ethereum.ts#L327

filo87 avatar Jan 25 '24 11:01 filo87