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
Network.ts - script hangs when reassigning w/ ContractFactory::deploy
Local bridging script hangs indefinitely while waiting for the `InterchainTokenFactoryContract` deployment.
This is likely due to the fact that the `ethersJS::Contract::deployed()` method is invoked twice for the same variable, `implementation`. EthersJS seems to get confused when using
`let implementation = await deployContract(<InterchainTokenServiceContract>)`
and then reassigning like so:
`implementation = await deployContract(<InterchainTokenFactoryContract>)`
since `deployContract()` calls `await contract.deployed()`
Using a single const variable for each contract returned by `deployContract()` resolved the issue, as made in this PR
0 commit comments