Skip to content
This repository has been archived by the owner on Jan 8, 2025. It is now read-only.

use with_base_fee for TransactionInfo #1201

Merged
merged 1 commit into from
Jun 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/tracing/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,7 @@ impl<P: EthereumProvider + Send + Sync + Clone> Tracer<P> {
let res = transact_in_place(evm)?;

// Create transaction info
let mut transaction_info = TransactionInfo::from(tx);
transaction_info.base_fee = Some(block_base_fee);
let transaction_info = TransactionInfo::from(tx).with_base_fee(block_base_fee);

// Return Parity trace result
Ok((
Expand Down
Loading