From cfbe4301b16c4e9af1bf3579ae9bc9a62ad8e09e Mon Sep 17 00:00:00 2001 From: Alain Brenzikofer Date: Tue, 11 Jul 2023 09:57:42 +0200 Subject: [PATCH] reassign call indices in teerex pallet. it's a breaking change anyway --- teerex/src/lib.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/teerex/src/lib.rs b/teerex/src/lib.rs index c3636db9..62626ce4 100644 --- a/teerex/src/lib.rs +++ b/teerex/src/lib.rs @@ -283,7 +283,7 @@ pub mod pallet { Ok(().into()) } - #[pallet::call_index(10)] + #[pallet::call_index(2)] #[pallet::weight((::WeightInfo::unregister_enclave(), DispatchClass::Normal, Pays::Yes))] pub fn unregister_proxied_enclave( origin: OriginFor, @@ -305,7 +305,7 @@ pub mod pallet { Ok(().into()) } - #[pallet::call_index(7)] + #[pallet::call_index(3)] #[pallet::weight((::WeightInfo::register_quoting_enclave(), DispatchClass::Normal, Pays::Yes))] pub fn register_quoting_enclave( origin: OriginFor, @@ -326,7 +326,7 @@ pub mod pallet { Ok(().into()) } - #[pallet::call_index(8)] + #[pallet::call_index(4)] #[pallet::weight((::WeightInfo::register_tcb_info(), DispatchClass::Normal, Pays::Yes))] pub fn register_tcb_info( origin: OriginFor,