Skip to content

Commit

Permalink
fix fund-account logging
Browse files Browse the repository at this point in the history
  • Loading branch information
dghelm committed Sep 4, 2024
1 parent e88b91c commit 4cf2e3d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/commands/helper/fund-accounts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,11 @@ export default class HelperFundAccounts extends Command {

const unitName = this.altGasTokenEnabled && layer === Layer.L2 ? this.altGasTokenSymbol : 'ETH';

this.log(chalk.cyan(`Initial balances:`));
this.log(chalk.yellow(` Funder: ${ethers.formatEther(initialFunderBalance)} ${unitName}`));
this.log(chalk.yellow(` Recipient: ${ethers.formatEther(initialRecipientBalance)} ${unitName}`));
this.log(chalk.yellow(`Funding ${address} with ${amount} ${unitName}...`));

const tx = await fundingWallet.sendTransaction({
to: address,
value: ethers.parseEther(amount.toString()),
Expand Down

0 comments on commit 4cf2e3d

Please sign in to comment.