dethcrypto / dethcrypto/TypeChain

Cannot find namespaces for events when `alwaysGenerateOverloads` is turned on

Open
#849 3 comments 2 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
2.8k
Forks
376
PR merge metrics
No merged PRs in 30d

Description

I am attempting to upgrade my repository to use ethers V6 and the corresponding typechain packages. When building the project with `tsc`, multiple errors of the following format are thrown:

```
../typechain-types/access/access_control/AccessControl.ts(425,5): error TS2503: Cannot find namespace 'RoleAdminChanged_bytes32_bytes32_bytes32_Event'.
```

See the `ethers-v6` branch of this repository: https://github.com/solidstate-network/solidstate-solidity/tree/ethers-v6. To reproduce, compile the contracts and run `yarn build`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.