From 3326d4ad17911e244bfa1f45b4cd005e0139de08 Mon Sep 17 00:00:00 2001 From: Gaetano Mondelli Date: Wed, 20 Mar 2024 21:19:56 +0000 Subject: [PATCH] fix(cli): genLocalState '-o' arg is a string and does not need parsing --- cli/ts/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/ts/index.ts b/cli/ts/index.ts index 1d6a433725..deb8d0842b 100644 --- a/cli/ts/index.ts +++ b/cli/ts/index.ts @@ -635,7 +635,7 @@ program program .command("genLocalState") .description("generate a local MACI state from the smart contracts events") - .requiredOption("-o, --output ", "the path where to write the state", parseInt) + .requiredOption("-o, --output ", "the path where to write the state") .requiredOption("-p, --poll-id ", "the id of the poll", BigInt) .option("-x, --contract ", "the MACI contract address") .option("-sk, --privkey ", "your serialized MACI private key")