Skip to content

Commit

Permalink
Temporary disable empty bundles
Browse files Browse the repository at this point in the history
  • Loading branch information
shamil-gadelshin committed Dec 17, 2024
1 parent 5ce735d commit a27fa5c
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions domains/client/domain-operator/src/domain_bundle_producer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -431,17 +431,17 @@ where
)
.await?;

// if there are no extrinsics and no receipts to confirm, skip the bundle
// this is the default production behaviour
if self.is_bundle_empty(consensus_chain_best_hash, &extrinsics)? {
tracing::warn!(
?domain_best_number,
"Skipping empty bundle production on slot {}",
slot_info.slot,
);

return Ok(None);
}
// // if there are no extrinsics and no receipts to confirm, skip the bundle
// // this is the default production behaviour
// if self.is_bundle_empty(consensus_chain_best_hash, &extrinsics)? {
// tracing::warn!(
// ?domain_best_number,
// "Skipping empty bundle production on slot {}",
// slot_info.slot,
// );
//
// return Ok(None);
// }

info!("🔖 Producing bundle at slot {:?}", slot_info.slot);

Expand Down

0 comments on commit a27fa5c

Please sign in to comment.