dethcrypto / dethcrypto/TypeChain

Contract name starting from a small alphabet generates invalid hardhat typings

Open
#481 0 comments 0 reactions 0 assignees View on GitHub
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

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.