dethcrypto / dethcrypto/TypeChain
Contract name starting from a small alphabet generates invalid hardhat typings
Open
bug
- Dominant language
- TypeScript
- Stars
- 2.8k
- Forks
- 376
- PR merge metrics
- No merged PRs in 30d
Description
I have a contract name of the form `xToken`. The typings are generated for `XToken` which can be imported but the hardhat counterparts don't work.
```ts
hre.ethers.getContractFactory('XToken'); // for this typings are present but hardhat expects xToken
hre.ethers.getContractFactory('xToken'); // this is the intended use but typings not present by default
```
Contributor guide
Assessment
This issue has not been assessed yet.