Closed HickupHH3 closed 2 years ago
Looks like there's an issue with typechain generation. The current workaround is to omit one of the deploy scripts (eg. ./scripts/deployTokenSale, do yarn first-compile, then re-include the omitted file.
had the same issue with another task, I had to create a new file with the typechain types and dynamically load it, see scripts/proposals/index.ts
. And only include the simple task definition in hardhat.config.ts
Makes sense, will do the replacement
Added another deploy script for token sale and proposal submission to governor for
Edit: Looks like there's an issue with typechain generation. The current workaround is to omit one of the deploy scripts (eg.
./scripts/deployTokenSale
, doyarn first-compile
, then re-include the omitted file.