Skip to content

Commit

Permalink
fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
weilzkm committed Oct 22, 2024
1 parent 9c42cf0 commit 0c0e470
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions prover/src/generation/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use plonky2::hash::hash_types::RichField;
use plonky2::timed;
use plonky2::util::timing::TimingTree;

use crate::all_stark::NUM_PUBLIC_INPUT_USERDATA;
// use crate::all_stark::NUM_PUBLIC_INPUT_USERDATA;
use crate::all_stark::{AllStark, NUM_TABLES};
use crate::config::StarkConfig;
use crate::cpu::bootstrap_kernel::generate_bootstrap_kernel;
Expand Down Expand Up @@ -47,9 +47,10 @@ pub fn generate_traces<F: RichField + Extendable<D>, const D: usize>(
// Execute the trace record

// Generate the public values and outputs
let mut userdata = kernel.read_public_inputs();
// let mut userdata = kernel.read_public_inputs();
// assert!(userdata.len() <= NUM_PUBLIC_INPUT_USERDATA);
// userdata.resize(NUM_PUBLIC_INPUT_USERDATA, 0u8);
let userdata = kernel.read_public_inputs();

let public_values = PublicValues {
roots_before: MemRoots {
Expand Down

0 comments on commit 0c0e470

Please sign in to comment.