diff --git a/evm/src/keccak/keccak_stark.rs b/evm/src/keccak/keccak_stark.rs index 87787e31..37cce52a 100644 --- a/evm/src/keccak/keccak_stark.rs +++ b/evm/src/keccak/keccak_stark.rs @@ -508,8 +508,8 @@ impl, const D: usize> Stark for KeccakStark = expected.iter().flatten().map(|&x| F::from_canonical_u64(x)).collect(); + let expected_flattened: Vec<_> = expected + .iter() + .flatten() + .map(|&x| F::from_canonical_u64(x)) + .collect(); assert_eq!(output, expected_flattened);