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
I am seeing weird behavior when having contracts with identical names, but placed in different separate subfolders
In one project, I noticed that the barrel export index.ts only included one of the contracts and not the other. I wasn't notified of this and this was misleading on places where i expected the other contract.
On a fresh hardhat project, typechain was failing, new extra folders with the names of the subfolders were created in the root folder, with Contract__factory.ts in each. This can be found here: sebastiantf/typechain-identical-contract-name
The text was updated successfully, but these errors were encountered:
I am seeing weird behavior when having contracts with identical names, but placed in different separate subfolders
In one project, I noticed that the barrel export index.ts only included one of the contracts and not the other. I wasn't notified of this and this was misleading on places where i expected the other contract.
On a fresh hardhat project, typechain was failing, new extra folders with the names of the subfolders were created in the root folder, with
Contract__factory.ts
in each. This can be found here: sebastiantf/typechain-identical-contract-nameThe text was updated successfully, but these errors were encountered: