-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: remove sudo #515
feat: remove sudo #515
Conversation
Runtime version has not been increased. |
Codecov Report
@@ Coverage Diff @@
## master #515 +/- ##
==========================================
- Coverage 81.25% 81.21% -0.05%
==========================================
Files 19 19
Lines 1942 1927 -15
==========================================
- Hits 1578 1565 -13
+ Misses 364 362 -2
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we should shift some configuration tasks to the technical comitee majority
Which one? Most of the pallets are already configured |
ok, i'll review it case by case |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lgtm
@@ -737,8 +717,7 @@ impl pallet_tips::Config for Runtime { | |||
impl pallet_collator_selection::Config for Runtime { | |||
type Event = Event; | |||
type Currency = Balances; | |||
//allow 1/2 of council to execute privileged collator selection operations. (require code from: feat/initial_chain_setup) | |||
type UpdateOrigin = EnsureMajorityCouncilOrRoot; | |||
type UpdateOrigin = MajorityTechCommitteeOrRoot; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This has changed from council to committee.
Is it correct?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, currently required to maintain stable running chain
type ExecuteOverweightOrigin = EnsureRoot<AccountId>; | ||
type ControllerOrigin = crate::EnsureMajorityCouncilOrRoot; | ||
type ExecuteOverweightOrigin = MajorityTechCommitteeOrRoot; | ||
type ControllerOrigin = MajorityTechCommitteeOrRoot; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also here from council to comitte. Just making sure that it is conscious decision
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, these roles are more for sorting out technical issues
Sudo pallet was removed from basilisk runtime.
some root only actions shifted to the council and technical comitee