From dafb1b5f3c5984926230cb45f37ea5b750b6c430 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Keszey=20D=C3=A1niel?= Date: Wed, 18 Sep 2024 09:26:05 +0200 Subject: [PATCH] more debug prints around block building --- crates/rbuilder/src/live_builder/mod.rs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/crates/rbuilder/src/live_builder/mod.rs b/crates/rbuilder/src/live_builder/mod.rs index 2f3fae4c..e145c3a5 100644 --- a/crates/rbuilder/src/live_builder/mod.rs +++ b/crates/rbuilder/src/live_builder/mod.rs @@ -133,7 +133,9 @@ impl let watchdog_sender = spawn_watchdog_thread(self.watchdog_timeout)?; + println!("Dani debug: Waiting for payload_attributes events"); while let Some(payload) = payload_events_channel.recv().await { + println!("Dani debug: payload_attributes event received"); if self.blocklist.contains(&payload.fee_recipient()) { warn!( slot = payload.slot(), @@ -161,6 +163,7 @@ impl continue; }; + println!("Dani debug: gather parent header"); let parent_header = { // @Nicer let parent_block = payload.parent_block_hash(); @@ -175,6 +178,7 @@ impl } }; + println!("Dani debug: gather blopvk hashes"); { let provider_factory = self.provider_factory.clone(); let block = payload.block(); @@ -204,6 +208,8 @@ impl inc_active_slots(); + + println!("Dani debug: build block context"); let block_ctx = BlockBuildingContext::from_attributes( payload.payload_attributes_event.clone(), &parent_header, @@ -215,6 +221,7 @@ impl None, ); + println!("Dani debug: start building"); builder_pool.start_block_building( payload, block_ctx,