Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information