TypeChain icon indicating copy to clipboard operation
TypeChain copied to clipboard

Contract name starting from a small alphabet generates invalid hardhat typings

Open zemse opened this issue 2 years ago • 0 comments

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.

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

zemse avatar Sep 26 '21 19:09 zemse