Skip to content

Commit

Permalink
feat: trie multi diff comparison (#655)
Browse files Browse the repository at this point in the history
* feat: full tries comparison

* fix: improvements

* fix: comment

* fix: lint

* fix: collect only n diff points

* fix: tests
  • Loading branch information
atanmarko authored Oct 4, 2024
1 parent 038457a commit e5fe60b
Show file tree
Hide file tree
Showing 4 changed files with 383 additions and 112 deletions.
6 changes: 2 additions & 4 deletions evm_arithmetization/src/generation/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -520,13 +520,11 @@ pub fn generate_traces<F: RichField + Extendable<D>, const D: usize>(
let registers_after: RegistersData = RegistersData::from(*registers_after);
apply_metadata_and_tries_memops(&mut state, inputs, &registers_before, &registers_after);

let cpu_res = timed!(
timed!(
timing,
"simulate CPU",
simulate_cpu(&mut state, *max_cpu_len_log)
);

cpu_res?;
)?;

let trace_lengths = state.traces.get_lengths();

Expand Down
Loading

0 comments on commit e5fe60b

Please sign in to comment.