diff --git a/zkevm-circuits/src/mpt_circuit.rs b/zkevm-circuits/src/mpt_circuit.rs index 93507d8cdf..a69fb5b94e 100644 --- a/zkevm-circuits/src/mpt_circuit.rs +++ b/zkevm-circuits/src/mpt_circuit.rs @@ -766,6 +766,7 @@ pub fn load_proof_from_file(path: &str) -> Vec { mod tests { use super::*; use halo2_proofs::{dev::MockProver, halo2curves::bn256::Fr}; + use itertools::Itertools; use std::{fs, ops::Deref, path::PathBuf}; #[test] @@ -808,6 +809,7 @@ mod tests { false } }) + .sorted_by(|a, b| a.file_name().cmp(&b.file_name())) .map(|f| { let path = f.path(); let mut parts = path.to_str().unwrap().split('-');