Skip to content

Commit

Permalink
log errors for iinvalid fraud proofs and bundles
Browse files Browse the repository at this point in the history
  • Loading branch information
vedhavyas committed Oct 30, 2023
1 parent a56ff0b commit 2ecb9c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/pallet-domains/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1287,7 +1287,7 @@ mod pallet {
match call {
Call::submit_bundle { opaque_bundle } => {
if let Err(e) = Self::validate_bundle(opaque_bundle) {
log::info!(
log::error!(
target: "runtime::domains",
"Bad bundle {:?}, error: {e:?}", opaque_bundle.domain_id(),
);
Expand All @@ -1309,7 +1309,7 @@ mod pallet {
}
Call::submit_fraud_proof { fraud_proof } => {
if let Err(e) = Self::validate_fraud_proof(fraud_proof) {
log::debug!(
log::error!(
target: "runtime::domains",
"Bad fraud proof {:?}, error: {e:?}", fraud_proof.domain_id(),
);
Expand Down

0 comments on commit 2ecb9c8

Please sign in to comment.