rhlsthrm / hardhat-typechain

TypeChain tasks for Buidler
MIT License
18 stars 13 forks source link

typechain generated definitions are not used immediately in `hardhat test` #13

Open moodysalem opened 3 years ago

moodysalem commented 3 years ago

if you call hardhat test, the typechain definitions that are generated immediately are not used in the tests and you will see an error if they were generated for the first time or the cached typechain definitions have changed

likely has to do with the order the test files are loaded/compiled by tsc vs. when the typechain definitions are generated