Skip to content

Commit

Permalink
Merge pull request #131 from SurfingNerd/i130-alpha4-logging-improvem…
Browse files Browse the repository at this point in the history
…ents

logging transactions for block that gets created.
  • Loading branch information
SurfingNerd authored Oct 28, 2024
2 parents 3149a3b + 03abfce commit 82e025b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/ethcore/src/engines/hbbft/hbbft_engine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -505,6 +505,8 @@ impl HoneyBadgerBFT {
debug!(target: "consensus", "Block creation: Batch received for epoch {}, total {} contributions, with {} unique transactions.", batch.epoch, batch
.contributions.iter().fold(0, |i, c| i + c.1.transactions.len()), batch_txns.len());

trace!(target: "consensus", "Block creation: transactions {}", batch_txns.iter().map(|x| x.hash.to_string()).join(", "));

// Make sure the resulting transactions do not contain nonces out of order.
// Not necessary any more - we select contribution transactions by sender, contributing all transactions by that sender or none.
// The transaction queue's "pending" transactions already guarantee there are no nonce gaps for a selected sender.
Expand Down

0 comments on commit 82e025b

Please sign in to comment.