From 43803ed72e56a27ff5ee010b9674280c5f80a406 Mon Sep 17 00:00:00 2001 From: Matthias Seitz Date: Tue, 28 Jan 2025 21:34:29 +0100 Subject: [PATCH] chore: add note about recorded transfer logs --- crates/rpc/rpc-eth-api/src/helpers/call.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/crates/rpc/rpc-eth-api/src/helpers/call.rs b/crates/rpc/rpc-eth-api/src/helpers/call.rs index 49604c10481f..d03776e98f95 100644 --- a/crates/rpc/rpc-eth-api/src/helpers/call.rs +++ b/crates/rpc/rpc-eth-api/src/helpers/call.rs @@ -191,7 +191,10 @@ pub trait EthCall: EstimateCall + Call + LoadPendingBlock + LoadBlock + FullEthA &mut db, evm_env.clone(), tx_env, - TransferInspector::new(false).with_logs(true), + TransferInspector::new(false) + // capture transfer inside the evm so they are recorded and + // included in the result + .with_logs(true), )? } else { this.transact(&mut db, evm_env.clone(), tx_env.clone())?