Closed hellwolf closed 3 years ago
I think you have a good assumption, the node cant return past block cause it does not have them.
I think you have a good assumption, the node cant return past block cause it does not have them.
Hi, but my assumption was that "web3.getPastLogs would still be able to query the pastLogs from the blocknumber 0". It seems openethereum doesn't do that, while geth could do that.
Sorry, I didn't say it clearly. The assumption on "buffer blocks" is correct and we cant return pastLogs from blocknumber 0 because we don't have those blocks on the client. Pruning fast option is exactly that.
Synced kovan node with the following options:
I am aware of that by not using archive pruning, it is not possible to query past state beyond certain "buffer blocks", and from various internet search, I have been expecting web3.getPastLogs would still be able to query the pastLogs from even the blocknumber 0.
Do I have the wrong assumption, if so, how to achieve that without going to full archive node?