Skip to content

Commit 25c87e8

Browse files
authored
Update proving command and output format explanation
Removed the '--output_format bytes' flag from the proving command and clarified the binary output format description.
1 parent ce6cff2 commit 25c87e8

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

barretenberg/docs/docs/how_to_guides/how-to-solidity-verifier.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,15 +101,13 @@ This will generate a `Prover.toml` you can fill with the values you want to prov
101101

102102
```bash
103103
nargo execute <witness-name>
104-
bb prove -b ./target/<circuit-name>.json -w ./target/<witness-name> -o ./target --oracle_hash keccak --output_format bytes
104+
bb prove -b ./target/<circuit-name>.json -w ./target/<witness-name> -o ./target --oracle_hash keccak
105105
```
106106

107107
Binary Output Format
108108

109109
Barretenberg outputs `proof` and `public_inputs` files in binary format. The binary format is fields-compatible, meaning it can be split into 32-byte chunks where each chunk represents a field element.
110110

111-
The `--output_format bytes` flag ensures the output is in binary format, which produces a `proof` file with the proof data and a `public_inputs` file with the public input values.
112-
113111
A programmatic example of how the `verify` function is called can be seen in the example zk voting application [here](https://github.com/noir-lang/noir-examples/blob/33e598c257e2402ea3a6b68dd4c5ad492bce1b0a/foundry-voting/src/zkVote.sol#L35):
114112

115113
```solidity

0 commit comments

Comments
 (0)