Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
Merge remote-tracking branch 'origin/master' into m-cat/remove-parity…
Browse files Browse the repository at this point in the history
…-util-mem
  • Loading branch information
parity-processbot committed Dec 6, 2022
2 parents b10c824 + 5f881f5 commit b6bc360
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion runtime/kusama/src/governance/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ impl pallet_whitelist::Config for Runtime {
type WhitelistOrigin =
EitherOf<EnsureRootWithSuccess<Self::AccountId, ConstU16<65535>>, Fellows>;
type DispatchWhitelistedOrigin = EitherOf<EnsureRoot<Self::AccountId>, WhitelistedCaller>;
type PreimageProvider = Preimage;
type Preimages = Preimage;
}

impl pallet_referenda::Config for Runtime {
Expand Down
3 changes: 2 additions & 1 deletion runtime/kusama/src/weights/pallet_whitelist.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ impl<T: frame_system::Config> pallet_whitelist::WeightInfo for WeightInfo<T> {
// Storage: Whitelist WhitelistedCall (r:1 w:1)
// Storage: Preimage PreimageFor (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)
.saturating_add(T::DbWeight::get().reads(3 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
Expand Down

0 comments on commit b6bc360

Please sign in to comment.