Skip to content

Commit 9a855a7

Browse files
committed
feat(cli): output chain ID at start of deploy
Print the chain ID alongside the deployer address so users can verify they are deploying to the intended chain before the deployment completes. Fixes #3568
1 parent 0e49b51 commit 9a855a7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/cli/src/runDeploy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ export async function runDeploy(opts: DeployOptions): Promise<WorldDeploy> {
152152
})
153153
: undefined;
154154

155-
console.log("Deploying from", client.account.address);
155+
console.log("Deploying from", client.account.address, "on chain", chainId);
156156

157157
// Attempt to enable automine for the duration of the deploy. Noop if automine is not available.
158158
const automine = await enableAutomine(client);

0 commit comments

Comments
 (0)