@maci-protocol/website 0.0.0-ci.f433bba → 0.0.0-ci.f9da2fc
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maci-protocol/website",
|
|
3
|
-
"version": "0.0.0-ci.
|
|
3
|
+
"version": "0.0.0-ci.f9da2fc",
|
|
4
4
|
"private": false,
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -61,5 +61,5 @@
|
|
|
61
61
|
"engines": {
|
|
62
62
|
"node": ">=18.0"
|
|
63
63
|
},
|
|
64
|
-
"gitHead": "
|
|
64
|
+
"gitHead": "6dbb127aeeb12898e9a75377c8a633a06b9a8132"
|
|
65
65
|
}
|
|
@@ -412,13 +412,13 @@ $sl = \mathsf{poseidon_4}([sl_{A_x}, sl_{A_y}, sl_{v}, sl_{t}])$
|
|
|
412
412
|
|
|
413
413
|
A blank state leaf $sl_B$ has the following value:
|
|
414
414
|
|
|
415
|
-
$
|
|
415
|
+
$11672248758340751985123309654953904206381780234474872690580702076708041504880$
|
|
416
416
|
|
|
417
417
|
This value is computed as such:
|
|
418
418
|
|
|
419
419
|
$A_{b_x} = 10457101036533406547632367118273992217979173478358440826365724437999023779287$
|
|
420
420
|
$A_{b_y} = 19824078218392094440610104313265183977899662750282163392862422243483260492317$
|
|
421
|
-
$sl_B = \mathsf{
|
|
421
|
+
$sl_B = \mathsf{poseidon_3}([A_{b0}, A_{b1}, 0])$
|
|
422
422
|
|
|
423
423
|
The code to derive $A_{b_x}$ and $A_{b_y}$ is [here](https://github.com/iden3/circomlib/blob/d5ed1c3ce4ca137a6b3ca48bec4ac12c1b38957a/src/pedersen_printbases.js). The function call required is `pedersenHash.getBasePoint('blake', 0)`
|
|
424
424
|
|
|
@@ -24,13 +24,13 @@ $sl = poseidon_4([sl_{A_x}, sl_{A_y}, sl_{v}, sl_{t}])$
|
|
|
24
24
|
|
|
25
25
|
A blank state leaf $sl_B$ has the following value:
|
|
26
26
|
|
|
27
|
-
$
|
|
27
|
+
$11672248758340751985123309654953904206381780234474872690580702076708041504880$
|
|
28
28
|
|
|
29
29
|
This value is computed as such:
|
|
30
30
|
|
|
31
31
|
$A_{b_x} = 10457101036533406547632367118273992217979173478358440826365724437999023779287$
|
|
32
32
|
$A_{b_y} = 19824078218392094440610104313265183977899662750282163392862422243483260492317$
|
|
33
|
-
$sl_B =
|
|
33
|
+
$sl_B = poseidon_3([A_{b0}, A_{b1}, 0])$
|
|
34
34
|
|
|
35
35
|
The code to derive $A_{b_x}$ and $A_{b_y}$ is [here](https://github.com/iden3/circomlib/blob/d5ed1c3ce4ca137a6b3ca48bec4ac12c1b38957a/src/pedersen_printbases.js). The function call required is `pedersenHash.getBasePoint('blake', 0)`
|
|
36
36
|
|
|
@@ -46,7 +46,6 @@ Users will use this circuit to anonymously prove that they joined a poll. This c
|
|
|
46
46
|
| ---------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
47
47
|
| `privKey` | The user's private key |
|
|
48
48
|
| `voiceCreditsBalance` | The user's initial voice credits balance |
|
|
49
|
-
| `joinTimestamp` | The timestamp of when the user joined the poll |
|
|
50
49
|
| `pathElements` | The path elements for the merkle tree inclusion proof |
|
|
51
50
|
| `pathIndices` | The path indices for the merkle tree inclusion proof |
|
|
52
51
|
| `stateRoot` | The MACI state tree root |
|