From 2ac4494602b0c31783f405a63001565e9af89495 Mon Sep 17 00:00:00 2001 From: Leouarz Date: Mon, 4 Mar 2024 16:40:38 +0100 Subject: [PATCH] remove error in favor of native exhaust error --- core/src/lib.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/core/src/lib.rs b/core/src/lib.rs index 3b75008..5931434 100644 --- a/core/src/lib.rs +++ b/core/src/lib.rs @@ -61,11 +61,9 @@ pub enum InvalidTransactionCustomId { /// The AppId is not registered. InvalidAppId = 137, /// Extrinsic is not allowed for the given `AppId`. - ForbiddenAppId, - /// Max padded length was exceeded. - MaxPaddedLenExceeded, + ForbiddenAppId = 138, /// Max recursion was reached for a call with AppId != 0. - MaxRecursionExceeded, + MaxRecursionExceeded = 139, } #[derive(