diff --git a/evm_arithmetization/src/cpu/kernel/interpreter.rs b/evm_arithmetization/src/cpu/kernel/interpreter.rs index 216b5c74b..39422c8ce 100644 --- a/evm_arithmetization/src/cpu/kernel/interpreter.rs +++ b/evm_arithmetization/src/cpu/kernel/interpreter.rs @@ -283,7 +283,7 @@ impl Interpreter { // Update the RLP and withdrawal prover inputs. let rlp_prover_inputs = - all_rlp_prover_inputs_reversed(inputs.signed_txn.as_ref().clone().unwrap_or(&vec![])); + all_rlp_prover_inputs_reversed(inputs.signed_txn.as_ref().unwrap_or(&vec![])); let withdrawal_prover_inputs = all_withdrawals_prover_inputs_reversed(&inputs.withdrawals); self.generation_state.rlp_prover_inputs = rlp_prover_inputs; self.generation_state.withdrawal_prover_inputs = withdrawal_prover_inputs; diff --git a/evm_arithmetization/src/generation/state.rs b/evm_arithmetization/src/generation/state.rs index 72b51beda..4bb586e1b 100644 --- a/evm_arithmetization/src/generation/state.rs +++ b/evm_arithmetization/src/generation/state.rs @@ -354,7 +354,7 @@ impl GenerationState { log::debug!("Input contract_code: {:?}", &inputs.contract_code); let rlp_prover_inputs = - all_rlp_prover_inputs_reversed(inputs.signed_txn.as_ref().clone().unwrap_or(&vec![])); + all_rlp_prover_inputs_reversed(inputs.signed_txn.as_ref().unwrap_or(&vec![])); let withdrawal_prover_inputs = all_withdrawals_prover_inputs_reversed(&inputs.withdrawals); let bignum_modmul_result_limbs = Vec::new();