Skip to content

Commit

Permalink
reassign call indices in teerex pallet. it's a breaking change anyway
Browse files Browse the repository at this point in the history
  • Loading branch information
brenzi committed Jul 11, 2023
1 parent 52a51da commit cfbe430
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions teerex/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ pub mod pallet {
Ok(().into())
}

#[pallet::call_index(10)]
#[pallet::call_index(2)]
#[pallet::weight((<T as Config>::WeightInfo::unregister_enclave(), DispatchClass::Normal, Pays::Yes))]
pub fn unregister_proxied_enclave(
origin: OriginFor<T>,
Expand All @@ -305,7 +305,7 @@ pub mod pallet {
Ok(().into())
}

#[pallet::call_index(7)]
#[pallet::call_index(3)]
#[pallet::weight((<T as Config>::WeightInfo::register_quoting_enclave(), DispatchClass::Normal, Pays::Yes))]
pub fn register_quoting_enclave(
origin: OriginFor<T>,
Expand All @@ -326,7 +326,7 @@ pub mod pallet {
Ok(().into())
}

#[pallet::call_index(8)]
#[pallet::call_index(4)]
#[pallet::weight((<T as Config>::WeightInfo::register_tcb_info(), DispatchClass::Normal, Pays::Yes))]
pub fn register_tcb_info(
origin: OriginFor<T>,
Expand Down

0 comments on commit cfbe430

Please sign in to comment.