Skip to content

Commit

Permalink
fix: for genLocalState '-o' represents the path where to write the lo…
Browse files Browse the repository at this point in the history
…cal state and not the pollId and must be be parsed as int.
  • Loading branch information
GaetanoMondelli authored Mar 17, 2024
1 parent c9107b8 commit 5f5b4b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/ts/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,7 @@ program
program
.command("genLocalState")
.description("generate a local MACI state from the smart contracts events")
.requiredOption("-o, --output <outputPath>", "the path where to write the state", parseInt)
.requiredOption("-o, --output <outputPath>", "the path where to write the state")
.requiredOption("-p, --poll-id <pollId>", "the id of the poll", BigInt)
.option("-x, --contract <contract>", "the MACI contract address")
.option("-sk, --privkey <privkey>", "your serialized MACI private key")
Expand Down

0 comments on commit 5f5b4b0

Please sign in to comment.