diff --git a/Cargo.lock b/Cargo.lock index ea30c66..1bbce52 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2695,7 +2695,7 @@ dependencies = [ [[package]] name = "rln" -version = "0.4.0" +version = "0.4.1" dependencies = [ "ark-bn254 0.4.0", "ark-circom 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", @@ -4260,7 +4260,7 @@ dependencies = [ [[package]] name = "zerokit_utils" -version = "0.4.0" +version = "0.4.1" dependencies = [ "ark-bn254 0.4.0", "ark-ff 0.4.1", diff --git a/rln/Cargo.toml b/rln/Cargo.toml index 14c5af7..97a6807 100644 --- a/rln/Cargo.toml +++ b/rln/Cargo.toml @@ -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" @@ -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 diff --git a/rln/resources/tree_height_20/rln_final.zkey b/rln/resources/tree_height_20/rln_final.zkey index 0318efa..46489a1 100644 Binary files a/rln/resources/tree_height_20/rln_final.zkey and b/rln/resources/tree_height_20/rln_final.zkey differ diff --git a/rln/resources/tree_height_20/verification_key.json b/rln/resources/tree_height_20/verification_key.json index 7bdc62a..162e303 100644 --- a/rln/resources/tree_height_20/verification_key.json +++ b/rln/resources/tree_height_20/verification_key.json @@ -37,12 +37,12 @@ ], "vk_delta_2": [ [ - "6832692771504397957590360708759281700999118750809760982970136159661838520508", - "13468886275581916448704001206191042468244128660792047667708868998914217226607" + "17077735495685170943380938230836408503627170115414840315502244846025577589191", + "14030085636943255545683322474441991939484590437387381169642530788494152024614" ], [ - "14994740931449791291635382287837232766460012379707446516704013722977810183046", - "9922411474443524470273139351326464261786154815141265104663214568321167583711" + "11568745146423307387256571230823432454624378106569286849514884592874522611163", + "1838524899938769516485895655063198583192139511330418290063560641219523306282" ], [ "1", diff --git a/rln/src/public.rs b/rln/src/public.rs index d779dbc..bd3e5fe 100644 --- a/rln/src/public.rs +++ b/rln/src/public.rs @@ -1673,18 +1673,18 @@ 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", @@ -1692,8 +1692,8 @@ mod test { ] ], "pi_c": [ - "20620241453393708332486848754039748595639801912969370960546027260091108922454", - "20580342189093698831710267260567759683930279312746044733195059538431965163807", + "17701377127561410274754535747274973758826089226897242202671882899370780845888", + "12608543716397255084418384146504333522628400182843246910626782513289789807030", "1" ], "protocol": "groth16", diff --git a/utils/Cargo.toml b/utils/Cargo.toml index 3862bca..9b0ab35 100644 --- a/utils/Cargo.toml +++ b/utils/Cargo.toml @@ -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"