Skip to content

Commit

Permalink
Fix console logging of transaction URL
Browse files Browse the repository at this point in the history
  • Loading branch information
lcswillems committed Jul 7, 2024
1 parent e89dca1 commit 8975be0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions contracts/blank/interact/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});

Expand All @@ -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 () => {
Expand All @@ -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);
6 changes: 3 additions & 3 deletions contracts/vested-transfers/interact/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});

Expand All @@ -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 () => {
Expand All @@ -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);

0 comments on commit 8975be0

Please sign in to comment.