From d6227aac48199ff93c9cbe7c30a8d4c4c47443fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Marcos?= <164224824+marcospb19-cw@users.noreply.github.com> Date: Tue, 12 Nov 2024 12:55:47 -0300 Subject: [PATCH] enha: canary miner: log txs before executing (#1858) --- src/eth/follower/importer/importer.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/eth/follower/importer/importer.rs b/src/eth/follower/importer/importer.rs index 8691f2a9b..23c9adbe6 100644 --- a/src/eth/follower/importer/importer.rs +++ b/src/eth/follower/importer/importer.rs @@ -215,6 +215,8 @@ impl Importer { // if it's fake miner, execute each tx and skip mining and commiting if let ImporterMode::FakeLeader = importer_mode { for tx in &block.transactions { + tracing::info!(?tx, "executing tx as fake miner"); + let Ok(tx_input) = rlp::decode(&tx.0.input) else { tracing::error!("Failed to decode processed transaction"); continue; // skip this tx