Skip to content

Commit

Permalink
Merge pull request #2584 from subspace/downgrade-domain-log
Browse files Browse the repository at this point in the history
Downgrade `DuplicatedBundle` and `InvalidProofOfTime` bad bundle warning log to debug level
  • Loading branch information
NingLin-P authored Mar 5, 2024
2 parents 61789fd + def6d4e commit 8fff19c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion crates/pallet-domains/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1420,8 +1420,10 @@ mod pallet {
| BundleError::Receipt(BlockTreeError::NewBranchReceipt)
| BundleError::Receipt(BlockTreeError::UnavailableConsensusBlockHash)
| BundleError::Receipt(BlockTreeError::BuiltOnUnknownConsensusBlock)
| BundleError::DuplicatedBundle
| BundleError::SlotInThePast
| BundleError::SlotInTheFuture => {
| BundleError::SlotInTheFuture
| BundleError::InvalidProofOfTime => {
log::debug!(
target: "runtime::domains",
"Bad bundle {:?}, error: {e:?}", opaque_bundle.domain_id(),
Expand Down

0 comments on commit 8fff19c

Please sign in to comment.