diff --git a/packages/cli/src/deploy/ensureWorldFactory.ts b/packages/cli/src/deploy/ensureWorldFactory.ts index 0f4bd745ad..3343755def 100644 --- a/packages/cli/src/deploy/ensureWorldFactory.ts +++ b/packages/cli/src/deploy/ensureWorldFactory.ts @@ -10,7 +10,7 @@ export async function ensureWorldFactory( ): Promise
{ if (withWorldProxy) { const contracts = getWorldProxyFactoryContracts(deployerAddress); - // WorldFactory constructor doesn't call InitModule, only sets its address, so we can do these in parallel since the address is deterministic + // We can deploy these contracts in parallel because they do not call each other at this point. await ensureContractsDeployed({ client, deployerAddress, @@ -18,9 +18,9 @@ export async function ensureWorldFactory( }); return contracts.WorldProxyFactory.address; } - + const contracts = getWorldFactoryContracts(deployerAddress); - // WorldFactory constructor doesn't call InitModule, only sets its address, so we can do these in parallel since the address is deterministic + // We can deploy these contracts in parallel because they do not call each other at this point. await ensureContractsDeployed({ client, deployerAddress,