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

Adapt the circuitry to zero-bin #184

Merged
merged 21 commits into from
Apr 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
bbae2a5
Generate all segments prior to proving
LindaGuiga Apr 1, 2024
fd6aced
Cleanup
LindaGuiga Apr 1, 2024
42bd079
Add comment
LindaGuiga Apr 1, 2024
e7447b1
Apply comments
LindaGuiga Apr 2, 2024
2179c51
Merge branch 'feat/continuations' into generate_all_data
LindaGuiga Apr 2, 2024
8b35a69
Apply suggestions
LindaGuiga Apr 3, 2024
7689f1c
Apply more suggestions
LindaGuiga Apr 4, 2024
8766435
Add MemoryState serialization with BigArray, and fix proof_gen for ze…
LindaGuiga Apr 8, 2024
0073855
Change create_transaction_circuit so that it always takes a lhs and a…
LindaGuiga Apr 8, 2024
9cd8e1a
Differentiate aggregation circuits and fix create_transaction_aggrega…
hratoanina Apr 10, 2024
296180f
Fix empty_txn_list and cleanup
LindaGuiga Apr 15, 2024
0e3d9d5
Change generate_all_segments so it generates at least two segments
LindaGuiga Apr 15, 2024
bda1070
Merge remote-tracking branch 'origin/develop' into all_data_for_zero_bin
Nashtare Apr 16, 2024
ba9c217
Update default size and .env
LindaGuiga Apr 22, 2024
f8dfa59
Remove extra file
LindaGuiga Apr 23, 2024
766283f
Merge branch 'feat/continuations' into all_data_for_zero_bin
LindaGuiga Apr 23, 2024
401fd1f
Improve comments
LindaGuiga Apr 24, 2024
5598811
Merge branch 'feat/continuations' into all_data_for_zero_bin
LindaGuiga Apr 24, 2024
6026995
Apply comments
LindaGuiga Apr 24, 2024
595f796
Unify `AggregationChildTarget` structs and reduce nb of args in metho…
Nashtare Apr 24, 2024
7ee929b
Merge remote-tracking branch 'origin/feat/continuations' into all_dat…
Nashtare Apr 24, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ rlp = "0.5.2"
rlp-derive = "0.1.0"
serde = "1.0.166"
serde_json = "1.0.96"
serde-big-array = "0.5.1"
thiserror = "1.0.49"

# plonky2-related dependencies
Expand Down
1 change: 1 addition & 0 deletions evm_arithmetization/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ static_assertions = "1.1.0"
hashbrown = { version = "0.14.0" }
tiny-keccak = "2.0.2"
serde_json = { workspace = true }
serde-big-array = { workspace = true }

# Local dependencies
mpt_trie = { version = "0.2.1", path = "../mpt_trie" }
Expand Down
3 changes: 2 additions & 1 deletion evm_arithmetization/src/cpu/kernel/interpreter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ use ethereum_types::{BigEndianHash, U256};
use log::Level;
use mpt_trie::partial_trie::PartialTrie;
use plonky2::field::types::Field;
use serde::{Deserialize, Serialize};

use crate::byte_packing::byte_packing_stark::BytePackingOp;
use crate::cpu::columns::CpuColumnsView;
Expand Down Expand Up @@ -147,7 +148,7 @@ pub(crate) fn simulate_cpu_and_get_user_jumps<F: Field>(
}

/// State data required to initialize the state passed to the prover.
#[derive(Default, Debug, Clone)]
#[derive(Default, Debug, Clone, Serialize, Deserialize)]
pub(crate) struct ExtraSegmentData {
pub(crate) trimmed_inputs: TrimmedGenerationInputs,
pub(crate) bignum_modmul_result_limbs: Vec<U256>,
Expand Down
Loading