dethcrypto / TypeChain

🔌 TypeScript bindings for Ethereum smart contracts
MIT License
2.76k stars 365 forks source link

fix(ethers-v6): always use view overrides for statcCalls #862

Closed paco0x closed 1 year ago

paco0x commented 1 year ago

Fixes: https://github.com/dethcrypto/TypeChain/issues/861

The overrides for static call functions should always be view overrides in order to use properties like blockTag.

changeset-bot[bot] commented 1 year ago

🦋 Changeset detected

Latest commit: d7df67c991fac0e310eb7f1c9909c77723885e9e

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages | Name | Type | | -------------------- | ----- | | @typechain/ethers-v6 | Patch | | @typechain/hardhat | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR