Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
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
4 changes: 2 additions & 2 deletions polkadot/transaction-pool/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -298,9 +298,9 @@ impl<'a, A> txpool::Verifier<UncheckedExtrinsic> for Verifier<'a, A> where
let sender = inner.as_ref().map(|x| x.signed.clone());

if encoded_size < 1024 {
info!(target: "transaction-pool", "Transaction verified: {} => {:?}", hash, uxt);
debug!(target: "transaction-pool", "Transaction verified: {} => {:?}", hash, uxt);
} else {
info!(target: "transaction-pool", "Transaction verified: {} ({} bytes is too large to display)", hash, encoded_size);
debug!(target: "transaction-pool", "Transaction verified: {} ({} bytes is too large to display)", hash, encoded_size);
}

Ok(VerifiedTransaction {
Expand Down
6 changes: 3 additions & 3 deletions substrate/extrinsic-pool/src/listener.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,15 +76,15 @@ impl<H, T> txpool::Listener<T> for Listener<H> where
}

fn rejected(&mut self, tx: &Arc<T>, reason: &txpool::ErrorKind) {
warn!("Extrinsic rejected ({}): {:?}", reason, tx);
warn!(target: "extrinsic-pool", "Extrinsic rejected ({}): {:?}", reason, tx);
}

fn invalid(&mut self, tx: &Arc<T>) {
warn!("Extrinsic invalid: {:?}", tx);
warn!(target: "extrinsic-pool", "Extrinsic invalid: {:?}", tx);
}

fn canceled(&mut self, tx: &Arc<T>) {
warn!("Extrinsic canceled: {:?}", tx);
debug!(target: "extrinsic-pool", "Extrinsic canceled: {:?}", tx);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tomusdrw this seems to happen a lot and repeatedly. what gives?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be fixed in: paritytech/polkadot#558

}

fn mined(&mut self, tx: &Arc<T>) {
Expand Down