mirror of
https://github.com/logos-storage/plonky2.git
synced 2026-01-07 16:23:12 +00:00
removed debug prints
This commit is contained in:
parent
3a6f2ef25e
commit
6b2b745291
@ -133,6 +133,5 @@ pub fn permuted_cols<F: PrimeField64>(inputs: &[F], table: &[F]) -> (Vec<F>, Vec
|
|||||||
permuted_table[ind] = val;
|
permuted_table[ind] = val;
|
||||||
}
|
}
|
||||||
|
|
||||||
dbg!((sorted_inputs.clone(), permuted_table.clone()));
|
|
||||||
(sorted_inputs, permuted_table)
|
(sorted_inputs, permuted_table)
|
||||||
}
|
}
|
||||||
|
|||||||
@ -112,7 +112,6 @@ pub fn generate_random_memory_ops<F: RichField, R: Rng>(
|
|||||||
};
|
};
|
||||||
|
|
||||||
let timestamp = F::from_canonical_usize(clock * NUM_CHANNELS + channel_index);
|
let timestamp = F::from_canonical_usize(clock * NUM_CHANNELS + channel_index);
|
||||||
dbg!(timestamp);
|
|
||||||
memory_ops.push(MemoryOp {
|
memory_ops.push(MemoryOp {
|
||||||
channel_index,
|
channel_index,
|
||||||
timestamp,
|
timestamp,
|
||||||
@ -316,7 +315,6 @@ impl<F: RichField + Extendable<D>, const D: usize> MemoryStark<F, D> {
|
|||||||
&segment_first_change,
|
&segment_first_change,
|
||||||
&virtual_first_change,
|
&virtual_first_change,
|
||||||
);
|
);
|
||||||
dbg!(max_timestamp_diff);
|
|
||||||
let to_pad_to = max_timestamp_diff.next_power_of_two();
|
let to_pad_to = max_timestamp_diff.next_power_of_two();
|
||||||
let to_pad = to_pad_to - num_trace_rows;
|
let to_pad = to_pad_to - num_trace_rows;
|
||||||
|
|
||||||
@ -347,10 +345,6 @@ impl<F: RichField + Extendable<D>, const D: usize> MemoryStark<F, D> {
|
|||||||
permuted_cols(&trace_cols[RANGE_CHECK], &trace_cols[COUNTER]);
|
permuted_cols(&trace_cols[RANGE_CHECK], &trace_cols[COUNTER]);
|
||||||
trace_cols[RANGE_CHECK_PERMUTED] = permuted_inputs;
|
trace_cols[RANGE_CHECK_PERMUTED] = permuted_inputs;
|
||||||
trace_cols[COUNTER_PERMUTED] = permuted_table;
|
trace_cols[COUNTER_PERMUTED] = permuted_table;
|
||||||
|
|
||||||
for i in 0..NUM_COLUMNS {
|
|
||||||
dbg!(i, trace_cols[i].len());
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn generate_trace(
|
pub fn generate_trace(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user