From 3d33092da91609704287a4bb515a24e41af8fb6f Mon Sep 17 00:00:00 2001 From: vedhavyas Date: Tue, 26 Nov 2024 12:37:46 +0530 Subject: [PATCH] update the verification error values to be distinct from the value used in domains --- domains/pallets/messenger/src/lib.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/domains/pallets/messenger/src/lib.rs b/domains/pallets/messenger/src/lib.rs index 4c01990382..183109e87d 100644 --- a/domains/pallets/messenger/src/lib.rs +++ b/domains/pallets/messenger/src/lib.rs @@ -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)]