Fix 245
- Added the
OwnerKeyChangePermission
in thepallet_distance
to verify if a given identity has the right to change itsAccount
. - Implemented the runtime handler for
OwnerKeyChangePermission
, which ensures that the current identity is not an active validator before changing theaccountId
. Closes #245 (closed).
Edited by Benjamin Gallois
Merge request reports
Activity
Filter activity
changed milestone to %runtime-802
added RN-runtime label
assigned to @bgallois
added 1 commit
- 8523a163 - fix https://git.duniter.org/nodes/rust/duniter-v2s/-/issues/245
requested review from @HugoTrentesaux
mentioned in issue #197 (closed)
Nice simple fix. A smith who wants to change his owner key should:
- leave the authority members set (two sessions after
go_offline
) - change his identity owner key
- declare new session keys (the previous ones were purged)
- join the authority members set again (
go_online
)
This makes the implementation of
change_owner_key
in authority-members pallet useless.- leave the authority members set (two sessions after
enabled an automatic merge when the pipeline for cc7b2479 succeeds
mentioned in merge request !273 (merged)
mentioned in commit 403b3d7c
mentioned in issue #291 (closed)
Please register or sign in to reply