Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
polkadot-sdk
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
parity
Mirrored projects
polkadot-sdk
Commits
aebe87ee
Commit
aebe87ee
authored
2 years ago
by
Muharem Ismailov
Committed by
GitHub
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
kusama whitelist pallet preimage dep upgrade (#6392)
parent
432384cd
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
polkadot/runtime/kusama/src/governance/mod.rs
+1
-1
1 addition, 1 deletion
polkadot/runtime/kusama/src/governance/mod.rs
polkadot/runtime/kusama/src/weights/pallet_whitelist.rs
+2
-1
2 additions, 1 deletion
polkadot/runtime/kusama/src/weights/pallet_whitelist.rs
with
3 additions
and
2 deletions
polkadot/runtime/kusama/src/governance/mod.rs
+
1
−
1
View file @
aebe87ee
...
...
@@ -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
Preimage
Provider
=
Preimage
;
type
Preimage
s
=
Preimage
;
}
impl
pallet_referenda
::
Config
for
Runtime
{
...
...
This diff is collapsed.
Click to expand it.
polkadot/runtime/kusama/src/weights/pallet_whitelist.rs
+
2
−
1
View file @
aebe87ee
...
...
@@ -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
))
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment