Skip to content

Commit

Permalink
Include data in the CLI dump.
Browse files Browse the repository at this point in the history
  • Loading branch information
ricmoo committed Aug 4, 2019
1 parent 0e6b810 commit 53bd96a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/cli/src.ts/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ class WrappedSigner extends ethers.Signer {
if (tx.from != null) { info["From"] = tx.from; }
info["Value"] = (ethers.utils.formatEther(tx.value || 0) + " ether");
if (tx.nonce != null) { info["None"] = tx.nonce; }
info["Data"] = tx.data;
info["Gas Limit"] = ethers.BigNumber.from(tx.gasLimit || 0).toString();
info["Gas Price"] = (ethers.utils.formatUnits(tx.gasPrice || 0, "gwei") + " gwei"),
info["Chain ID"] = (tx.chainId || 0);
Expand Down Expand Up @@ -234,6 +235,7 @@ class WrappedSigner extends ethers.Signer {
if (tx.from != null) { info["From"] = tx.from; }
info["Value"] = (ethers.utils.formatEther(tx.value || 0) + " ether");
if (tx.nonce != null) { info["None"] = tx.nonce; }
info["Data"] = tx.data;
info["Gas Limit"] = ethers.BigNumber.from(tx.gasLimit || 0).toString();
info["Gas Price"] = (ethers.utils.formatUnits(tx.gasPrice || 0, "gwei") + " gwei"),
info["Chain ID"] = (tx.chainId || 0);
Expand Down

0 comments on commit 53bd96a

Please sign in to comment.