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

Features/addmul v2 #1936

Closed
wants to merge 15 commits into from
Closed

Conversation

xinyi-zhao
Copy link

Motivation

Solution

PR Checklist

  • Added Tests
  • Added Documentation
  • Breaking changes

pub e_memory_records: MemoryWriteRecord,
pub c_ptr_memory: MemoryReadRecord,
pub d_ptr_memory: MemoryReadRecord,
pub e_ptr_memory: MemoryReadRecord,

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<_>>();

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)?;

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:

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

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.

8 participants