Make available cached web3.eth functions, like getBlockNumber
Garoth opened this issue · 3 comments
Garoth commented
As far as I can tell, there is no way to get Drizzle's internal current block number. In general, there's no system in Drizzle for caching web3.eth functions -- only direct contract calls. As a result, my app would call the regular getBlockNumber constantly. Turns out half my app's eth data usage is this getBlockNumber call
It's simple enough for me to implement a cache myself, but this would ideally be part of Drizzle
adrianmcli commented
adrianmcli commented
Closing for now, but happy to continue discussion in the other repo.
Garoth commented