From 0c0e47025bc4c8646898e9e1abbfb81210a74178 Mon Sep 17 00:00:00 2001 From: Angell Li Date: Tue, 22 Oct 2024 21:53:51 +0800 Subject: [PATCH] fix warnings --- prover/src/generation/mod.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/prover/src/generation/mod.rs b/prover/src/generation/mod.rs index 8e3b6972..47795da6 100644 --- a/prover/src/generation/mod.rs +++ b/prover/src/generation/mod.rs @@ -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; @@ -47,9 +47,10 @@ pub fn generate_traces, 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 {