Skip to content

Commit

Permalink
docs: tweak comment
Browse files Browse the repository at this point in the history
  • Loading branch information
yonadaa committed Apr 24, 2024
1 parent 0e5fdb7 commit 5e8e312
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/cli/src/deploy/ensureWorldFactory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,17 @@ export async function ensureWorldFactory(
): Promise<Address> {
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,
contracts: Object.values(contracts),
});
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,
Expand Down

0 comments on commit 5e8e312

Please sign in to comment.