From 8975be073f3ebd00c6ffb966ecfc1fe5cfecf932 Mon Sep 17 00:00:00 2001 From: lcswillems Date: Sun, 7 Jul 2024 10:27:51 +0200 Subject: [PATCH] Fix console logging of transaction URL --- contracts/blank/interact/index.ts | 6 +++--- contracts/vested-transfers/interact/index.ts | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/contracts/blank/interact/index.ts b/contracts/blank/interact/index.ts index 4de24a6c..91c3ca54 100644 --- a/contracts/blank/interact/index.ts +++ b/contracts/blank/interact/index.ts @@ -17,7 +17,7 @@ program.command("deploy").action(async () => { codeMetadata: ["upgradeable"], gasLimit: 20_000_000, }); - console.log("Transaction:", result.tx.explorerUrl); + console.log("Transaction:", result.explorerUrl); console.log("Contract:", result.contract.explorerUrl); }); @@ -29,7 +29,7 @@ program.command("upgrade").action(async () => { codeMetadata: ["upgradeable"], gasLimit: 20_000_000, }); - console.log("Transaction:", result.tx.explorerUrl); + console.log("Transaction:", result.explorerUrl); }); program.command("ClaimDeveloperRewards").action(async () => { @@ -39,7 +39,7 @@ program.command("ClaimDeveloperRewards").action(async () => { funcName: "ClaimDeveloperRewards", gasLimit: 10_000_000, }); - console.log("Transaction:", result.tx.explorerUrl); + console.log("Transaction:", result.explorerUrl); }); program.parse(process.argv); diff --git a/contracts/vested-transfers/interact/index.ts b/contracts/vested-transfers/interact/index.ts index b8c3333a..eca5eb8d 100644 --- a/contracts/vested-transfers/interact/index.ts +++ b/contracts/vested-transfers/interact/index.ts @@ -17,7 +17,7 @@ program.command("deploy").action(async () => { codeMetadata: ["upgradeable"], gasLimit: 100_000_000, }); - console.log("Transaction:", result.tx.explorerUrl); + console.log("Transaction:", result.explorerUrl); console.log("Contract:", result.contract.explorerUrl); }); @@ -29,7 +29,7 @@ program.command("upgrade").action(async () => { codeMetadata: ["upgradeable"], gasLimit: 100_000_000, }); - console.log("Transaction:", result.tx.explorerUrl); + console.log("Transaction:", result.explorerUrl); }); program.command("ClaimDeveloperRewards").action(async () => { @@ -39,7 +39,7 @@ program.command("ClaimDeveloperRewards").action(async () => { funcName: "ClaimDeveloperRewards", gasLimit: 10_000_000, }); - console.log("Transaction:", result.tx.explorerUrl); + console.log("Transaction:", result.explorerUrl); }); program.parse(process.argv);