Skip to content

feat(cli): output chain ID at start of deploy - #3822

Closed
SSDWGG wants to merge 2 commits into
latticexyz:mainfrom
SSDWGG:feat/output-chain-id-on-deploy
Closed

feat(cli): output chain ID at start of deploy#3822
SSDWGG wants to merge 2 commits into
latticexyz:mainfrom
SSDWGG:feat/output-chain-id-on-deploy

Conversation

@SSDWGG

@SSDWGG SSDWGG commented May 16, 2026

Copy link
Copy Markdown

Summary

Fixes #3568 — adds the chain ID to the deploy output so users can verify they are deploying to the intended chain before the deployment completes.

Change

packages/cli/src/runDeploy.ts:

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

Why

Previously, the chain ID was only visible after deployment completed (written to the deploys file). When switching between chains during testing, users had no way to confirm which chain they were targeting until the deploy finished.

Type of Change

  • Feature (UX improvement)

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
@SSDWGG
SSDWGG requested a review from alvrs as a code owner May 16, 2026 02:28
@changeset-bot

changeset-bot Bot commented May 16, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: cdcd237

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@vercel

vercel Bot commented May 16, 2026

Copy link
Copy Markdown

@SSDWGG is attempting to deploy a commit to the Lattice Team on Vercel.

A member of the Team first needs to authorize it.

@SSDWGG SSDWGG closed this by deleting the head repository May 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

deploy should output chain ID

1 participant