diff --git a/frame/system/src/lib.rs b/frame/system/src/lib.rs index 32627896e86a0..0a16820acae54 100644 --- a/frame/system/src/lib.rs +++ b/frame/system/src/lib.rs @@ -377,7 +377,7 @@ pub mod pallet { /// # /// - `O(1)` /// # - #[pallet::call_index(0)] + #[pallet::call_index(1)] #[pallet::weight(T::SystemWeightInfo::remark(_remark.len() as u32))] pub fn remark(origin: OriginFor, _remark: Vec) -> DispatchResultWithPostInfo { ensure_signed_or_root(origin)?; @@ -385,7 +385,7 @@ pub mod pallet { } /// Set the number of pages in the WebAssembly environment's heap. - #[pallet::call_index(1)] + #[pallet::call_index(2)] #[pallet::weight((T::SystemWeightInfo::set_heap_pages(), DispatchClass::Operational))] pub fn set_heap_pages(origin: OriginFor, pages: u64) -> DispatchResultWithPostInfo { ensure_root(origin)?; @@ -406,7 +406,7 @@ pub mod pallet { /// The weight of this function is dependent on the runtime, but generally this is very /// expensive. We will treat this as a full block. /// # - #[pallet::call_index(2)] + #[pallet::call_index(3)] #[pallet::weight((T::BlockWeights::get().max_block, DispatchClass::Operational))] pub fn set_code(origin: OriginFor, code: Vec) -> DispatchResultWithPostInfo { ensure_root(origin)?; @@ -424,7 +424,7 @@ pub mod pallet { /// - 1 event. /// The weight of this function is dependent on the runtime. We will treat this as a full /// block. # - #[pallet::call_index(3)] + #[pallet::call_index(4)] #[pallet::weight((T::BlockWeights::get().max_block, DispatchClass::Operational))] pub fn set_code_without_checks( origin: OriginFor, @@ -436,7 +436,7 @@ pub mod pallet { } /// Set some items of storage. - #[pallet::call_index(4)] + #[pallet::call_index(5)] #[pallet::weight(( T::SystemWeightInfo::set_storage(items.len() as u32), DispatchClass::Operational, @@ -453,7 +453,7 @@ pub mod pallet { } /// Kill some items from storage. - #[pallet::call_index(5)] + #[pallet::call_index(6)] #[pallet::weight(( T::SystemWeightInfo::kill_storage(keys.len() as u32), DispatchClass::Operational, @@ -470,7 +470,7 @@ pub mod pallet { /// /// **NOTE:** We rely on the Root origin to provide us the number of subkeys under /// the prefix we are removing to accurately calculate the weight of this function. - #[pallet::call_index(6)] + #[pallet::call_index(7)] #[pallet::weight(( T::SystemWeightInfo::kill_prefix(_subkeys.saturating_add(1)), DispatchClass::Operational, @@ -486,7 +486,7 @@ pub mod pallet { } /// Make some on-chain remark and emit event. - #[pallet::call_index(7)] + #[pallet::call_index(8)] #[pallet::weight(T::SystemWeightInfo::remark_with_event(remark.len() as u32))] pub fn remark_with_event( origin: OriginFor,