Skip to content

Commit

Permalink
fix example
Browse files Browse the repository at this point in the history
  • Loading branch information
mimoo committed Jan 23, 2024
1 parent 8905441 commit e57182d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 68 deletions.
70 changes: 4 additions & 66 deletions examples/circuit/public_inputs.json
Original file line number Diff line number Diff line change
@@ -1,70 +1,8 @@
{
"a": [
"1",
"0",
"1",
"0",
"1",
"0",
"1",
"0",
"1",
"0",
"1",
"0",
"1",
"0",
"1",
"0",
"1",
"0",
"1",
"0",
"1",
"0",
"1",
"0",
"1",
"0",
"1",
"0",
"1",
"0",
"1",
"0"
"preimage": [
"1"
],
"b": [
"1",
"0",
"1",
"0",
"1",
"0",
"1",
"0",
"1",
"0",
"1",
"0",
"1",
"0",
"1",
"0",
"1",
"0",
"1",
"0",
"1",
"0",
"1",
"0",
"1",
"0",
"1",
"0",
"1",
"0",
"1",
"0"
"truncated_txid": [
0
]
}
3 changes: 1 addition & 2 deletions examples/circuit/stateless.circom
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,9 @@ template Main() {

signal input preimage[1];

var hardcoded_value = 17744324452969507964952966931655538206777558023197549666337974697819074895989;
var hardcoded_value = 18586133768512220936620570745912940619677854269274689475585506675881198879027;

signal digest <== Poseidon(1)(preimage);
log(digest);
digest === hardcoded_value;
}

Expand Down

0 comments on commit e57182d

Please sign in to comment.