Skip to content

Commit

Permalink
v0.15.2: fix: Noir circuit name too long when log_n >= 10. (#271)
Browse files Browse the repository at this point in the history
  • Loading branch information
feltroidprime authored Dec 12, 2024
1 parent 56bea3d commit d1296a2
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ def __init__(
auto_run: bool = True,
compilation_mode: int = 1,
) -> None:
name = f"honk_prepare_msm_scalars_size_{vk.log_circuit_size}"
name = f"honk_prep_msm_scalars_size_{vk.log_circuit_size}"
self.vk = vk
self.scalar_indexes = []
super().__init__(
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "maturin"

[project]
name = "garaga"
version = "0.15.1"
version = "0.15.2"
requires-python = ">=3.10,<3.11"
dependencies = [
"fastecdsa",
Expand Down
2 changes: 1 addition & 1 deletion src/Scarb.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "garaga"
version = "0.15.1"
version = "0.15.2"
edition = "2023_10"
licence = "MIT"
keywords = ["zk", "snarks", "curve", "pairing", "groth16", "plonk", "bls", "elliptic", "signature"]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use super::honk_verifier_constants::{vk, precomputed_lines};
use super::honk_verifier_circuits::{
run_GRUMPKIN_HONK_SUMCHECK_SIZE_5_PUB_1_circuit,
run_GRUMPKIN_HONK_PREPARE_MSM_SCALARS_SIZE_5_circuit,
run_GRUMPKIN_HONK_PREP_MSM_SCALARS_SIZE_5_circuit,
run_BN254_EVAL_FN_CHALLENGE_DUPL_42P_RLC_circuit,
};

Expand All @@ -26,7 +26,7 @@ mod UltraKeccakHonkVerifier {
use garaga::utils::neg_3;
use super::{
vk, precomputed_lines, run_GRUMPKIN_HONK_SUMCHECK_SIZE_5_PUB_1_circuit,
run_GRUMPKIN_HONK_PREPARE_MSM_SCALARS_SIZE_5_circuit,
run_GRUMPKIN_HONK_PREP_MSM_SCALARS_SIZE_5_circuit,
run_BN254_EVAL_FN_CHALLENGE_DUPL_42P_RLC_circuit,
};
use garaga::utils::noir::{
Expand Down Expand Up @@ -132,7 +132,7 @@ mod UltraKeccakHonkVerifier {
scalar_72,
_,
) =
run_GRUMPKIN_HONK_PREPARE_MSM_SCALARS_SIZE_5_circuit(
run_GRUMPKIN_HONK_PREP_MSM_SCALARS_SIZE_5_circuit(
p_sumcheck_evaluations: full_proof.proof.sumcheck_evaluations,
p_gemini_a_evaluations: full_proof.proof.gemini_a_evaluations,
tp_gemini_r: transcript.gemini_r.into(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1024,7 +1024,7 @@ const HONK_SUMCHECK_SIZE_5_PUB_1_GRUMPKIN_CONSTANTS: [u384; 29] = [
},
];
#[inline(always)]
pub fn run_GRUMPKIN_HONK_PREPARE_MSM_SCALARS_SIZE_5_circuit(
pub fn run_GRUMPKIN_HONK_PREP_MSM_SCALARS_SIZE_5_circuit(
p_sumcheck_evaluations: Span<u256>,
p_gemini_a_evaluations: Span<u256>,
tp_gemini_r: u384,
Expand Down
2 changes: 1 addition & 1 deletion tools/garaga_rs/Cargo.lock

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

2 changes: 1 addition & 1 deletion tools/garaga_rs/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "garaga_rs"
version = "0.15.1"
version = "0.15.2"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
2 changes: 1 addition & 1 deletion tools/npm/garaga_ts/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"type": "module",
"name": "garaga",
"version": "0.15.1",
"version": "0.15.2",
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion tools/npm/garaga_ts/src/wasm/pkg/garaga_rs_bg.wasm.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tools/npm/garaga_ts/src/wasm/pkg/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "garaga_rs",
"type": "module",
"version": "0.15.1",
"version": "0.15.2",
"files": [
"garaga_rs_bg.wasm",
"garaga_rs.js",
Expand Down

0 comments on commit d1296a2

Please sign in to comment.