Skip to content

Commit c6a8833

Browse files
Fallengirleigmax
andauthored
fix: correct copy-paste errors in comments and imports (#437)
* fix: unitest by diabling avx feature * fix: correct copy-paste errors in comments and imports * cargo fmt --------- Co-authored-by: eigmax <sd@eigen.market>
1 parent 287a9d0 commit c6a8833

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

crates/core/executor/src/opcode.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@
22
33
use enum_map::Enum;
44
use p3_field::Field;
5-
use std::fmt::Display;
6-
// use p3_field::Field;
75
use serde::{Deserialize, Serialize};
6+
use std::fmt::Display;
87

98
/// An opcode (short for "operation code") specifies the operation to be performed by the processor.
109
#[allow(non_camel_case_types)]

crates/core/executor/src/syscalls/precompiles/sha256/compress.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ impl Syscall for Sha256CompressSyscall {
9494
h_write_records.push(record);
9595
}
9696

97-
// Push the SHA extend event.
97+
// Push the SHA compress event.
9898
let shard = rt.current_shard();
9999
let event = PrecompileEvent::ShaCompress(ShaCompressEvent {
100100
shard,

crates/stark/src/air/public_values.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ impl<F: FieldAlgebra> From<PublicValues<u32, u32>> for PublicValues<Word<F>, F>
176176
mod tests {
177177
use crate::air::public_values;
178178

179-
/// Check that the [`PI_DIGEST_NUM_WORDS`] number match the zkVM crate's.
179+
/// Check that the [`PV_DIGEST_NUM_WORDS`] number match the zkVM crate's.
180180
#[test]
181181
fn test_public_values_digest_num_words_consistency_zkvm() {
182182
assert_eq!(public_values::PV_DIGEST_NUM_WORDS, zkm_zkvm::PV_DIGEST_NUM_WORDS);

0 commit comments

Comments
 (0)