Skip to content

Commit

Permalink
docs: add note about recorded transfer logs (#14053)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse authored Jan 28, 2025
1 parent 14ac107 commit 01309ec
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion crates/rpc/rpc-eth-api/src/helpers/call.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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())?
Expand Down

0 comments on commit 01309ec

Please sign in to comment.