You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Hardhat v2, all contracts were compiled together each time, causing TypeChain to regenerate types for all contracts on every run.
In Hardhat v3, it is possible to compile only a subset of contracts. However, when doing so, the types folder is overwritten, retaining only the types from the compiled subset. As a result, types from previously compiled contracts are lost.
Can we prevent this? We should investigate how to generate types for a subset of contracts without deleting the existing types
Search terms
No response
The text was updated successfully, but these errors were encountered:
Describe the feature
In Hardhat v2, all contracts were compiled together each time, causing TypeChain to regenerate types for all contracts on every run.
In Hardhat v3, it is possible to compile only a subset of contracts. However, when doing so, the
types
folder is overwritten, retaining only the types from the compiled subset. As a result, types from previously compiled contracts are lost.Can we prevent this? We should investigate how to generate types for a subset of contracts without deleting the existing types
Search terms
No response
The text was updated successfully, but these errors were encountered: