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
When using viem, and a network with a unique/custom chainId, the error NetworkNotFoundError is thrown.
The normal solution is to pass in a custom viem chain, but hre.ignition.deploy does not allow passing in a chain.
See the error message:
I propose adding a parameter or field to an existing parameter on hre.ignition.deploy that allows passing a custom viem chain.
What happened?
When using viem, and a network with a unique/custom chainId, the error NetworkNotFoundError is thrown.
The normal solution is to pass in a custom viem chain, but
hre.ignition.deploy
does not allow passing in a chain.See the error message:
I propose adding a parameter or field to an existing parameter on hre.ignition.deploy that allows passing a custom viem chain.
Minimal reproduction steps
See https://github.com/johnpm-12/hardhat-ignition-tenderly-test
npm run deploySameId
works as expected, because the chainId is the same as one inviem/chains
npm run deployUniqueId
throws NetworkNotFoundErrorSearch terms
NetworkNotFoundError
The text was updated successfully, but these errors were encountered: