You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looking through this Issue #494, when trying to filter eth_getLogs by topics, the relay returns an empty response. This happens due to the mirror-node requesting a timestamp range when filtering by topics:
Description
Looking through this Issue #494, when trying to filter
eth_getLogs
by topics, the relay returns an empty response. This happens due to the mirror-node requesting a timestamp range when filtering by topics:Unfortunately without from/to blocks or a block hash we don't have timestamps filter, and we don't have a way to get a valid timestamp in the relay.
I will have to take a look how other JSON-RPC providers handle this and suggest solutions.
Steps to reproduce
Run the relay against the test net
Set the following variables in .env:
Execute against the relay:
which should return an empty response:
and the mirror node request will fail with status code 400:
But if
fromBlock
andtoBlock
are added to the request:It returns the logs:
Additional context
No response
Hedera network
All
Version
All
Operating system
No response
The text was updated successfully, but these errors were encountered: