From e35a767d2c25be504665cfdb0e774ccfc42ca023 Mon Sep 17 00:00:00 2001 From: Denis Fadeev Date: Wed, 7 Aug 2024 08:45:52 +0500 Subject: [PATCH] fix: mainnet flag in hardhat cctx (#166) --- packages/tasks/src/cctx.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/tasks/src/cctx.ts b/packages/tasks/src/cctx.ts index f407df7b..522d3b0b 100644 --- a/packages/tasks/src/cctx.ts +++ b/packages/tasks/src/cctx.ts @@ -35,4 +35,4 @@ export const cctxTask = task( ) .addPositionalParam("tx", "Hash of an inbound or a cross-chain transaction") .addFlag("json", "Output as JSON") - .addOptionalParam("type", "Testnet or mainnet", "testnet"); + .addFlag("mainnet", "Run the task on mainnet");