hedera-json-rpc-relay icon indicating copy to clipboard operation
hedera-json-rpc-relay copied to clipboard

Update `eth_getBlockByHash` and `eth_getBlockByNumber` to pass a timestamp range in mirror node queries

Open victor-yanev opened this issue 1 year ago • 0 comments
trafficstars

In the eth_getBlockByHash and eth_getBlockByNumber methods, ensure the existing timestampRangeParams are used for subsequent API calls to getLogsWithParams and resolveEvmAddress. This change is necessary to handle the new 60-day limit on querying historical data in the mirror node.

victor-yanev avatar Sep 30 '24 10:09 victor-yanev