From d20bde55ab00d46ae4132640b081de865901a226 Mon Sep 17 00:00:00 2001 From: byeongsu-hong Date: Mon, 26 Feb 2024 20:35:15 +0900 Subject: [PATCH] chore: redundant args --- script/commands/contract.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script/commands/contract.ts b/script/commands/contract.ts index ca1495ef..069becb9 100644 --- a/script/commands/contract.ts +++ b/script/commands/contract.ts @@ -1,8 +1,8 @@ import { Command } from "commander"; + import { contractNames } from "../shared/constants"; import { executeContract } from "../shared/contract"; import { CONTAINER, Dependencies } from "../shared/ioc"; -import { getNetwork } from "../shared/config"; import { addPad } from "../shared/utils"; export const contractCmd = new Command("contract").configureHelp({ @@ -19,7 +19,7 @@ contractCmd .argument("dest-domian") .argument("recipient-addr") .argument("msg-body") - .action(async (destDomain, recipientAddr, msgBody, _, cmd) => { + .action(async (destDomain, recipientAddr, msgBody) => { const { ctx, client } = CONTAINER.get(Dependencies); const mailbox = ctx.deployments.core?.mailbox!;