diff --git a/crates/evm/evm/src/executors/mod.rs b/crates/evm/evm/src/executors/mod.rs index 092e0641e546e..f3aae1330002a 100644 --- a/crates/evm/evm/src/executors/mod.rs +++ b/crates/evm/evm/src/executors/mod.rs @@ -225,7 +225,7 @@ impl Executor { abi: Option<&JsonAbi>, ) -> Result { let func = func.into(); - let calldata = Bytes::from(func.abi_encode_input(&args.into())?.to_vec()); + let calldata = Bytes::from(func.abi_encode_input(&args.into())?); let result = self.call_raw_committing(from, to, calldata, value)?; convert_call_result(abi, &func, result) }