Rubilmax / ethers-multicall-provider

⚡🕰️ Call any set of functions from any set of smart contracts in a single RPC query, seamlessly using ethers' providers API!
https://github.com/Rubilmax/ethers-multicall-provider
MIT License
62 stars 7 forks source link

weird ethersv6 cache #60

Closed yanfeizuo closed 9 months ago

yanfeizuo commented 10 months ago

When using the ethersv6 version, there is always a cache and there is no way to update the data.

Rubilmax commented 9 months ago

Hi, indeed there's cache on calls made at the same block number, on the same contract, with the same calldata. Why would you want to update the cache? Why would the data change on the blockchain?

Rubilmax commented 9 months ago

So there was the issue that all queries made at the "latest" block tag were cached... which is unexpected

github-actions[bot] commented 9 months ago

:tada: This issue has been resolved in version 6.0.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket: