mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 09:21:05 +00:00
Companion for paritytech/substrate#13811 (#6998)
* Companion for paritytech/substrate#13811 * Add comment * update lockfile for {"substrate"} * Update Substrate Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Fix pallet weight warnings Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> --------- Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Co-authored-by: parity-processbot <> Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
This commit is contained in:
@@ -67,7 +67,7 @@ pub mod pallet {
|
||||
///
|
||||
/// The new validators will be active from current session + 2.
|
||||
#[pallet::call_index(0)]
|
||||
#[pallet::weight(100_000)]
|
||||
#[pallet::weight({100_000})]
|
||||
pub fn register_validators(
|
||||
origin: OriginFor<T>,
|
||||
validators: Vec<T::ValidatorId>,
|
||||
@@ -84,7 +84,7 @@ pub mod pallet {
|
||||
///
|
||||
/// The removed validators will be deactivated from current session + 2.
|
||||
#[pallet::call_index(1)]
|
||||
#[pallet::weight(100_000)]
|
||||
#[pallet::weight({100_000})]
|
||||
pub fn deregister_validators(
|
||||
origin: OriginFor<T>,
|
||||
validators: Vec<T::ValidatorId>,
|
||||
|
||||
Reference in New Issue
Block a user