Skip to content

Commit

Permalink
consensus: Trace gas_limit in 'gen_candidate' log event
Browse files Browse the repository at this point in the history
  • Loading branch information
Goshawk committed Aug 19, 2024
1 parent 4592fe2 commit 1c9b6a2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions consensus/src/proposal/block_generator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ impl<T: Operations> Generator<T> {
info!(
event = "gen_candidate",
hash = &to_str(&candidate.header().hash),
gas_limit = candidate.header().gas_limit,
state_hash = &to_str(&candidate.header().state_hash),
dur = format!("{:?}ms", start.elapsed().as_millis()),
);
Expand Down

0 comments on commit 1c9b6a2

Please sign in to comment.