Skip to content

Commit

Permalink
log gas limit
Browse files Browse the repository at this point in the history
  • Loading branch information
zeroXbrock committed Dec 11, 2024
1 parent 1d98aa8 commit bbdd837
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions crates/core/src/test_scenario.rs
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ where
})?;

println!(
"sending tx {} from={} to={:?} input={} value={}",
"sending tx {} from={} to={:?} input={} value={} gas_limit={}",
tx_envelope.tx_hash(),
tx_req.from.map(|s| s.encode_hex()).unwrap_or_default(),
tx_envelope.to().to(),
Expand All @@ -409,7 +409,11 @@ where
tx_req
.value
.map(|s| s.to_string())
.unwrap_or_else(|| "0".to_owned())
.unwrap_or_else(|| "0".to_owned()),
tx_req
.gas
.map(|g| g.to_string())
.unwrap_or_else(|| "N/A".to_owned())
);

ExecutionPayload::SignedTx(tx_envelope, req.to_owned())
Expand Down

0 comments on commit bbdd837

Please sign in to comment.