Skip to content

Commit

Permalink
update the verification error values to be distinct from the value us…
Browse files Browse the repository at this point in the history
…ed in domains
  • Loading branch information
vedhavyas committed Nov 26, 2024
1 parent 72290b5 commit 3d33092
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions domains/pallets/messenger/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ use sp_runtime::traits::{Extrinsic, Hash};
use sp_runtime::DispatchError;

pub(crate) mod verification_errors {
pub(crate) const INVALID_CHANNEL: u8 = 100;
pub(crate) const INVALID_NONCE: u8 = 101;
pub(crate) const NONCE_OVERFLOW: u8 = 102;
pub(crate) const INVALID_CHANNEL: u8 = 200;
pub(crate) const INVALID_NONCE: u8 = 201;
pub(crate) const NONCE_OVERFLOW: u8 = 202;
}

#[derive(Debug, Encode, Decode, Clone, Eq, PartialEq, TypeInfo, Copy)]
Expand Down

0 comments on commit 3d33092

Please sign in to comment.