Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions crates/op-rbuilder/src/monitor_tx_pool.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ pub async fn monitor_tx_pool(mut new_transactions: AllTransactionsEvents<OpPoole
fn transaction_event_log(event: FullTransactionEvent<OpPooledTransaction>) {
match event {
FullTransactionEvent::Pending(hash) => {
debug!(
info!(
tx_hash = hash.to_string(),
kind = "pending",
"Transaction event received"
)
}
FullTransactionEvent::Queued(hash) => {
debug!(
info!(
tx_hash = hash.to_string(),
kind = "queued",
"Transaction event received"
Expand All @@ -28,7 +28,7 @@ fn transaction_event_log(event: FullTransactionEvent<OpPooledTransaction>) {
FullTransactionEvent::Mined {
tx_hash,
block_hash,
} => debug!(
} => info!(
tx_hash = tx_hash.to_string(),
kind = "mined",
block_hash = block_hash.to_string(),
Expand All @@ -37,21 +37,21 @@ fn transaction_event_log(event: FullTransactionEvent<OpPooledTransaction>) {
FullTransactionEvent::Replaced {
transaction,
replaced_by,
} => debug!(
} => info!(
tx_hash = transaction.hash().to_string(),
kind = "replaced",
replaced_by = replaced_by.to_string(),
"Transaction event received"
),
FullTransactionEvent::Discarded(hash) => {
debug!(
info!(
tx_hash = hash.to_string(),
kind = "discarded",
"Transaction event received"
)
}
FullTransactionEvent::Invalid(hash) => {
debug!(
info!(
tx_hash = hash.to_string(),
kind = "invalid",
"Transaction event received"
Expand Down
Loading