Skip to content

Commit 49b5a66

Browse files
committed
Log deployer and network
1 parent 621852a commit 49b5a66

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

deploy/0_deploy.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ export default async function deploy() {
5151
const network = await ethers.provider.getNetwork();
5252
const chainId = network.chainId;
5353
const [deployer] = await ethers.getSigners();
54+
console.log(`Deployer: ${deployer.address}`);
55+
console.log(`Network: ${network.name} (${chainId})`);
5456
const deploymentOptions = config.getChainConfigOrDefault(chainId);
5557
// TODO: remove the fallback on deployer address to avoid deployement
5658
// misconfiguration.

0 commit comments

Comments
 (0)