From 1c9b6a26a5443f72e41e696f859ff27efd0d82c5 Mon Sep 17 00:00:00 2001 From: Goshawk Date: Mon, 19 Aug 2024 12:55:10 +0300 Subject: [PATCH] consensus: Trace gas_limit in 'gen_candidate' log event --- consensus/src/proposal/block_generator.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/consensus/src/proposal/block_generator.rs b/consensus/src/proposal/block_generator.rs index 854bb4c5e3..1d92fabe6a 100644 --- a/consensus/src/proposal/block_generator.rs +++ b/consensus/src/proposal/block_generator.rs @@ -59,6 +59,7 @@ impl Generator { 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()), );