Skip to content

Commit

Permalink
Merge pull request #3260 from autonomys/messenger_verification_error
Browse files Browse the repository at this point in the history
XDM: Update the verification error values to be distinct from the value used in Domain verifcation
  • Loading branch information
vedhavyas authored Nov 26, 2024
2 parents ab68451 + 3d33092 commit f4b5a3e
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 f4b5a3e

Please sign in to comment.