Skip to content

Commit

Permalink
fix: log
Browse files Browse the repository at this point in the history
  • Loading branch information
ameeshaagrawal committed Apr 5, 2024
1 parent edc28f4 commit 8237385
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion scripts/deploy/helpers/send-msg/allPathTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import Socket from "../../../../out/Socket.sol/Socket.json";

import { chains, mode, overrides } from "../../config";
import { getProviderFromChainSlug } from "../../../constants/networks";
import { formatEther } from "ethers/lib/utils";

interface RequestObj {
to: string;
Expand Down Expand Up @@ -175,7 +176,11 @@ export const sendMessagesToAllPaths = async (params: {
to
);

console.log(`fees is ${value}`);
console.log(
`fees for path ${chainSlug}-${siblingSlug} is ${formatEther(
value
)}`
);

const gasLimit: number | string | undefined =
chainSlug === ChainSlug.ARBITRUM ||
Expand Down

0 comments on commit 8237385

Please sign in to comment.