docs: add note about recorded transfer logs (#14053)

This commit is contained in:
Matthias Seitz
2025-01-28 21:58:04 +01:00
committed by GitHub
parent 14ac107c89
commit 01309ec03a

View File

@ -191,7 +191,10 @@ pub trait EthCall: EstimateCall + Call + LoadPendingBlock + LoadBlock + FullEthA
&mut db, &mut db,
evm_env.clone(), evm_env.clone(),
tx_env, 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 { } else {
this.transact(&mut db, evm_env.clone(), tx_env.clone())? this.transact(&mut db, evm_env.clone(), tx_env.clone())?