git.delta.rocks / unique-network / refs/commits / 388c9c036ffc

difftreelog

chore(app-rpomo) fix comments

PraetorP2023-06-02parent: #93a33d6.patch.diff
in: master

1 file changed

modifiedpallets/app-promotion/src/lib.rsdiffbeforeafterboth
714 ///714 ///
715 /// # Arguments715 /// # Arguments
716 ///716 ///
717 /// * `origin`: Must be `Signed`.717 /// * `origin`: Must be `Root`.
718 /// * `stakers`: Accounts to be upgraded.718 /// * `stakers`: Accounts to be upgraded.
719 #[pallet::call_index(9)]719 #[pallet::call_index(9)]
720 #[pallet::weight(T::DbWeight::get().reads_writes(2, 2) * stakers.len() as u64)]720 #[pallet::weight(T::DbWeight::get().reads_writes(2, 2) * stakers.len() as u64)]
755 ///755 ///
756 /// # Arguments756 /// # Arguments
757 ///757 ///
758 /// * `origin`: Must be `Signed`.758 /// * `origin`: Must be `Root`.
759 /// * `pending_blocks`: Block numbers that will be processed.759 /// * `pending_blocks`: Block numbers that will be processed.
760 #[pallet::call_index(10)]760 #[pallet::call_index(10)]
761 #[pallet::weight(<T as Config>::WeightInfo::on_initialize(PENDING_LIMIT_PER_BLOCK*pending_blocks.len() as u32))]761 #[pallet::weight(<T as Config>::WeightInfo::on_initialize(PENDING_LIMIT_PER_BLOCK*pending_blocks.len() as u32))]