diff --git a/arbitrator/prover/src/machine.rs b/arbitrator/prover/src/machine.rs index d624d0ca0..fd7e22e1b 100644 --- a/arbitrator/prover/src/machine.rs +++ b/arbitrator/prover/src/machine.rs @@ -157,7 +157,7 @@ impl Function { let code_hashes = (0..chunks).into_par_iter().map(crunch).collect(); #[cfg(not(feature = "rayon"))] - let code_hashes = (0..chunks).into_iter().map(crunch).collect(); + let code_hashes = (0..chunks).map(crunch).collect(); self.code_merkle = Merkle::new(MerkleType::Instruction, code_hashes); } diff --git a/arbitrator/stylus/src/native.rs b/arbitrator/stylus/src/native.rs index 69822f5ae..6d5e4cd2e 100644 --- a/arbitrator/stylus/src/native.rs +++ b/arbitrator/stylus/src/native.rs @@ -119,8 +119,8 @@ impl> NativeInstance { let env = WasmEnv::new(compile, None, evm, evm_data); let module_hash = env.evm_data.module_hash; - if let Some((m, store)) = InitCache::get(module_hash, version, debug) { - return Self::from_module(m, store, env); + if let Some((module, store)) = InitCache::get(module_hash, version, debug) { + return Self::from_module(module, store, env); } let (module, store) = match env.evm_data.cached { true => InitCache::insert(module_hash, module, version, debug)?,