mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 17:31:03 +00:00
kusama whitelist pallet preimage dep upgrade (#6392)
This commit is contained in:
@@ -72,7 +72,7 @@ impl pallet_whitelist::Config for Runtime {
|
|||||||
type WhitelistOrigin =
|
type WhitelistOrigin =
|
||||||
EitherOf<EnsureRootWithSuccess<Self::AccountId, ConstU16<65535>>, Fellows>;
|
EitherOf<EnsureRootWithSuccess<Self::AccountId, ConstU16<65535>>, Fellows>;
|
||||||
type DispatchWhitelistedOrigin = EitherOf<EnsureRoot<Self::AccountId>, WhitelistedCaller>;
|
type DispatchWhitelistedOrigin = EitherOf<EnsureRoot<Self::AccountId>, WhitelistedCaller>;
|
||||||
type PreimageProvider = Preimage;
|
type Preimages = Preimage;
|
||||||
}
|
}
|
||||||
|
|
||||||
impl pallet_referenda::Config for Runtime {
|
impl pallet_referenda::Config for Runtime {
|
||||||
|
|||||||
@@ -63,7 +63,8 @@ impl<T: frame_system::Config> pallet_whitelist::WeightInfo for WeightInfo<T> {
|
|||||||
// Storage: Whitelist WhitelistedCall (r:1 w:1)
|
// Storage: Whitelist WhitelistedCall (r:1 w:1)
|
||||||
// Storage: Preimage PreimageFor (r:1 w:1)
|
// Storage: Preimage PreimageFor (r:1 w:1)
|
||||||
// Storage: Preimage StatusFor (r:1 w:1)
|
// Storage: Preimage StatusFor (r:1 w:1)
|
||||||
fn dispatch_whitelisted_call() -> Weight {
|
// TODO regenerate
|
||||||
|
fn dispatch_whitelisted_call(_n: u32) -> Weight {
|
||||||
Weight::from_ref_time(7_327_364_000 as u64)
|
Weight::from_ref_time(7_327_364_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||||
|
|||||||
Reference in New Issue
Block a user