Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update bindings for zk_rows #185

Merged
merged 3 commits into from
Oct 30, 2023
Merged

Conversation

mrmr1993
Copy link
Member

This PR is the counterpart of MinaProtocol/mina#14331

@mrmr1993 mrmr1993 requested a review from a team as a code owner October 17, 2023 08:11
Copy link
Contributor

@rbonichon rbonichon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This probably needs some homogenization wrt to the actual type for the zk_rows field.

kimchi/wasm/src/plonk_verifier_index.rs Show resolved Hide resolved
@@ -805,7 +810,7 @@ macro_rules! impl_verification_key {
Arc::clone(&srs.0)
},

zk_rows: 3,
zk_rows: zk_rows as u64,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it should be either isize or usize instead of u64.

kimchi/wasm/src/plonk_verifier_index.rs Show resolved Hide resolved
kimchi/wasm/src/plonk_verifier_index.rs Show resolved Hide resolved
@@ -591,6 +592,7 @@ macro_rules! impl_verification_key {
evals: &WasmPlonkVerificationEvals,
shifts: &WasmShifts,
lookup_index: Option<WasmLookupVerifierIndex>,
zk_rows: isize,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

usize?

@@ -601,6 +603,7 @@ macro_rules! impl_verification_key {
evals: evals.clone(),
shifts: shifts.clone(),
lookup_index: lookup_index.clone(),
zk_rows: zk_rows,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
zk_rows: zk_rows,
zk_rows,

@rbonichon rbonichon merged commit d2dca1c into develop Oct 30, 2023
1 check passed
@rbonichon rbonichon deleted the feature/surely-not-more-chunks branch October 30, 2023 14:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants