Skip to content

Commit

Permalink
kusama whitelist pallet preimage dep upgrade (#6392)
Browse files Browse the repository at this point in the history
  • Loading branch information
muharem authored Dec 6, 2022
1 parent 2f024d4 commit e23eb23
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion relay/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 relay/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 e23eb23

Please sign in to comment.