perf(rpc): optimistically retrieve block if near the tip on eth_getLogs
#11582
+87
−61
eth_getLogs
#11582