Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
kunxian-xia committed Oct 31, 2024
1 parent 3e9e8d2 commit e605d85
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
8 changes: 7 additions & 1 deletion ceno_emul/src/vm_state.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
use std::collections::HashMap;

use super::rv32im::EmuContext;
use crate::{Program, addr::{ByteAddr, RegIdx, Word, WordAddr}, platform::Platform, rv32im::{DecodedInstruction, Emulator, TrapCause}, tracer::{Change, StepRecord, Tracer}, PC_STEP_SIZE};
use crate::{
PC_STEP_SIZE, Program,
addr::{ByteAddr, RegIdx, Word, WordAddr},
platform::Platform,
rv32im::{DecodedInstruction, Emulator, TrapCause},
tracer::{Change, StepRecord, Tracer},
};
use anyhow::{Result, anyhow};
use std::{iter::from_fn, ops::Deref, sync::Arc};

Expand Down
2 changes: 1 addition & 1 deletion ceno_zkvm/src/instructions/riscv/rv32im.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ use crate::{
mulh::MulhuInstruction,
shift::{SllInstruction, SrlInstruction},
shift_imm::{SlliInstruction, SraiInstruction, SrliInstruction},
slti::SltiInstruction,
sltu::SltuInstruction,
*,
},
Expand All @@ -29,7 +30,6 @@ use itertools::Itertools;
use num_traits::cast::ToPrimitive;
use std::collections::{BTreeMap, BTreeSet};
use strum::IntoEnumIterator;
use crate::instructions::riscv::slti::SltiInstruction;

use super::{
arith::AddInstruction,
Expand Down
7 changes: 6 additions & 1 deletion sumcheck/src/prover_v2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,12 @@ impl<'a, E: ExtensionField> IOPProverStateV2<'a, E> {
&challenge,
);
if thread_id < 2 {
tracing::debug!("thread {}: sumcheck round {}/{}", thread_id, i+1, num_variables);
tracing::debug!(
"thread {}: sumcheck round {}/{}",
thread_id,
i + 1,
num_variables
);
}
thread_based_transcript.append_field_element_exts(&prover_msg.evaluations);

Expand Down

0 comments on commit e605d85

Please sign in to comment.