-
Notifications
You must be signed in to change notification settings - Fork 411
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
Features/addmul v2 #1936
Features/addmul v2 #1936
Conversation
pub e_memory_records: MemoryWriteRecord, | ||
pub c_ptr_memory: MemoryReadRecord, | ||
pub d_ptr_memory: MemoryReadRecord, | ||
pub e_ptr_memory: MemoryReadRecord, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what is the difference between e_memory_records and e_ptr_memory
@@ -82,7 +82,7 @@ impl<F: PrimeField> MachineAir<F> for MemoryProgramChip { | |||
let mut values = zeroed_f_vec(padded_nb_rows * NUM_MEMORY_PROGRAM_PREPROCESSED_COLS); | |||
let chunk_size = std::cmp::max((nb_rows + 1) / num_cpus::get(), 1); | |||
|
|||
let memory = program.memory_image.iter().collect::<Vec<_>>(); | |||
let memory = program.memory_image.iter().sorted().collect::<Vec<_>>(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we probably don't want to change their memory implementation
@@ -99,11 +99,14 @@ impl PlonkVerifier { | |||
public_inputs: &[[u8; 32]], | |||
plonk_vk: &[u8], | |||
) -> Result<(), PlonkError> { | |||
let plonk_vk = load_plonk_verifying_key_from_bytes(plonk_vk).unwrap(); | |||
let proof = load_plonk_proof_from_bytes(proof, plonk_vk.qcp.len()).unwrap(); | |||
let plonk_vk = load_plonk_verifying_key_from_bytes(plonk_vk)?; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what is this change for
@@ -146,6 +149,43 @@ jobs: | |||
env: | |||
CARGO_INCREMENTAL: 1 | |||
|
|||
check: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is github ci config file, no need to change i guess
Motivation
Solution
PR Checklist