From ad05ce26b1375b3a31f8014e1669dd743c54e33b Mon Sep 17 00:00:00 2001 From: Gautham Date: Thu, 1 Feb 2024 18:20:23 +0530 Subject: [PATCH] add priority --- pallets/thea/src/lib.rs | 3 ++- runtimes/mainnet/src/lib.rs | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pallets/thea/src/lib.rs b/pallets/thea/src/lib.rs index b6e268811..69cbaf5e7 100644 --- a/pallets/thea/src/lib.rs +++ b/pallets/thea/src/lib.rs @@ -680,7 +680,8 @@ impl Pallet { } ValidTransaction::with_tag_prefix("thea") - .and_provides(signatures) + .priority(TransactionPriority::MAX/3) + .and_provides((id, auth_index)) .longevity(10) .propagate(true) .build() diff --git a/runtimes/mainnet/src/lib.rs b/runtimes/mainnet/src/lib.rs index 4673a1505..cd39028cf 100644 --- a/runtimes/mainnet/src/lib.rs +++ b/runtimes/mainnet/src/lib.rs @@ -122,7 +122,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { // and set impl_version to 0. If only runtime // implementation changes and behavior does not, then leave spec_version as // is and increment impl_version. - spec_version: 322, + spec_version: 325, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 2,