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

Retire more proving from Lurk Alpha #875

Merged
merged 4 commits into from
Nov 9, 2023

Conversation

huitseeker
Copy link
Member

This retires Lurk-Alpha only proving facilities up to #874, which focuses on gadgets. As we get to that last issue, we'll need to move these gadgets to bellpepper-gadgets or bellpepper

- Removed the entire `MultiFrame` struct execution across multiple files.
- Altered import statements to match the changes in the codebase.
@huitseeker huitseeker requested a review from a team as a code owner November 9, 2023 18:34
- Removed the method `chunk_size` from the `Flow` enum in `config.rs`.
- Eliminated several imports in `circuit_frame.rs`, including `ConsCircuitWitness`, `ContCircuitWitness`, `HashCircuitWitnessCache`, `Frame` from `eval`, and `HashWitness`.
- Removed the function `from_frame` from `CircuitFrame` implementation and significantly pared down the `synthesize` function within the same implementation.
- Introduced `#[allow(dead_code)]` annotations on `reduce_expression` and `apply_continuation` functions, marking them as currently unused but potentially useful in the next few commits
- Eliminated redundant code and unused imports across multiple files,
- Removed obsolete methods, such as `num_threads` from config module, `new` and `new_dummy` from `Slot` struct, and `from_cons_witness` and `from_cont_witness`.
- Eliminated the `HashConst` struct from the `hash_witness.rs` source file.
- Removed the unused `circuit_witness_blocks` and `names_and_ptrs` methods for the `CircuitHashWitness`.
Comment on lines -57 to -68
#[derive(Debug, Clone)]
pub struct MultiFrame<'a, F: LurkField, C: Coprocessor<F>> {
pub store: Option<&'a Store<F>>,
pub input: Option<IO<F>>,
pub output: Option<IO<F>>,
pub frames: Option<Vec<CircuitFrame<'a, F, C>>>,
pub cached_witness: Option<WitnessCS<F>>,
pub count: usize,
pub folding_config: Arc<FoldingConfig<F, C>>,
pub meta: Meta<F>,
pub next_pc: Option<usize>,
}
Copy link
Member

Choose a reason for hiding this comment

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

👍🏼

@huitseeker huitseeker added this pull request to the merge queue Nov 9, 2023
Merged via the queue into lurk-lab:master with commit 80ea3a1 Nov 9, 2023
12 checks passed
@huitseeker huitseeker deleted the retire_more_proving branch November 9, 2023 20:15
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.

None yet

2 participants