Skip to content

Commit

Permalink
fix(rln): use tree_height_20 artifacts from ceremony (#218)
Browse files Browse the repository at this point in the history
* fix(rln): use artifacts from ceremony

* chore: Release
  • Loading branch information
rymnc authored Oct 4, 2023
1 parent 8614b2a commit 0997d15
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 17 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions rln/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rln"
version = "0.4.0"
version = "0.4.1"
edition = "2021"
license = "MIT OR Apache-2.0"
description = "APIs to manage, compute and verify zkSNARK proofs and RLN primitives"
Expand Down Expand Up @@ -42,7 +42,7 @@ once_cell = "=1.17.1"
rand = "=0.8.5"
rand_chacha = "=0.3.1"
tiny-keccak = { version = "=2.0.2", features = ["keccak"] }
utils = { package = "zerokit_utils", version = "=0.4.0", path = "../utils/", default-features = false }
utils = { package = "zerokit_utils", version = "=0.4.1", path = "../utils/", default-features = false }


# serialization
Expand Down
Binary file modified rln/resources/tree_height_20/rln_final.zkey
Binary file not shown.
8 changes: 4 additions & 4 deletions rln/resources/tree_height_20/verification_key.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@
],
"vk_delta_2": [
[
"6832692771504397957590360708759281700999118750809760982970136159661838520508",
"13468886275581916448704001206191042468244128660792047667708868998914217226607"
"17077735495685170943380938230836408503627170115414840315502244846025577589191",
"14030085636943255545683322474441991939484590437387381169642530788494152024614"
],
[
"14994740931449791291635382287837232766460012379707446516704013722977810183046",
"9922411474443524470273139351326464261786154815141265104663214568321167583711"
"11568745146423307387256571230823432454624378106569286849514884592874522611163",
"1838524899938769516485895655063198583192139511330418290063560641219523306282"
],
[
"1",
Expand Down
16 changes: 8 additions & 8 deletions rln/src/public.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1673,27 +1673,27 @@ mod test {

let valid_snarkjs_proof = json!({
"pi_a": [
"4470527391588441860193200161084455226340491373346283552408949960585113822665",
"17066173901974939377117728437830216011764222423156801199965800887938087190121",
"606446415626469993821291758185575230335423926365686267140465300918089871829",
"14881534001609371078663128199084130129622943308489025453376548677995646280161",
"1"
],
"pi_b": [
[
"15972566464269406830925988363875489807783626890329856187767783138745533264635",
"14937519511565349355063307001263881540320664095110809840110097755110649950560"
"18053812507994813734583839134426913715767914942522332114506614735770984570178",
"11219916332635123001710279198522635266707985651975761715977705052386984005181"
],
[
"533488241215365262498062426054646750918758165791898421060280269581011723961",
"9035874337973494769294028746597715861635666159729389919309920308765805688602"
"17371289494006920912949790045699521359436706797224428511776122168520286372970",
"14038575727257298083893642903204723310279435927688342924358714639926373603890"
],
[
"1",
"0"
]
],
"pi_c": [
"20620241453393708332486848754039748595639801912969370960546027260091108922454",
"20580342189093698831710267260567759683930279312746044733195059538431965163807",
"17701377127561410274754535747274973758826089226897242202671882899370780845888",
"12608543716397255084418384146504333522628400182843246910626782513289789807030",
"1"
],
"protocol": "groth16",
Expand Down
2 changes: 1 addition & 1 deletion utils/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "zerokit_utils"
version = "0.4.0"
version = "0.4.1"
edition = "2021"
license = "MIT OR Apache-2.0"
description = "Various utilities for Zerokit"
Expand Down

0 comments on commit 0997d15

Please sign in to comment.