Skip to content

Commit

Permalink
Merge pull request #495 from kroma-network/docs/add-missing-chage-fro…
Browse files Browse the repository at this point in the history
…m-#490

docs(circom): add missing change from #490
  • Loading branch information
chokobole authored Jul 30, 2024
2 parents 357d340 + 1279d05 commit 180e6a4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions vendors/circom/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ Optional arguments:

--curve The curve type among ('bn254', bls12_381'), by default 'bn254'
--no_zk Create proof without zk. By default zk is enabled. Use this flag in case you want to compare the proof with rapidsnark.
--no_use_mmap Create proof without mmap(2). By default, mmap(2) is enabled, offering faster proof generation at the cost of increased memory usage due to the memory mapped file. Use this flag if you want to use less memory.
--verify Verify the proof. By default verify is disabled. Use this flag to verify the proof with the public inputs.
-n, --num_runs The number of times to run the proof generation
--disable_fast_twiddles_mode
Expand Down
8 changes: 4 additions & 4 deletions vendors/circom/prover_main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -221,10 +221,10 @@ int RealMain(int argc, char** argv) {
.set_long_name("--no_use_mmap")
.set_default_value(false)
.set_help(
"Create proof not using mmap(2). By default, mmap(2) is enabled, "
"memory mapped file offers faster proof generation at the cost of "
"increased memory usage. Use this flag if you want to use less "
"memory.");
"Create proof without mmap(2). By default, mmap(2) is enabled, "
"offering faster proof generation at the cost of increased memory "
"usage due to the memory mapped file. Use this flag if you want to "
"use less memory.");
parser.AddFlag<base::BoolFlag>(&options.verify)
.set_long_name("--verify")
.set_default_value(false)
Expand Down

0 comments on commit 180e6a4

Please sign in to comment.