pallet-ranked-collective: Ensure to cleanup state in remove_member (#2591)

This ensures that we cleanup the state of `who` in `remove_member`.

---------

Co-authored-by: Liam Aharon <liam.aharon@hotmail.com>
This commit is contained in:
Bastian Köcher
2023-12-04 19:43:27 +01:00
committed by GitHub
parent e6b9da132d
commit a1b2ecb902
3 changed files with 53 additions and 38 deletions
+9
View File
@@ -0,0 +1,9 @@
title: Ensure to cleanup state in remove_member
doc:
- audience: Runtime Dev
description: |
Cleanes up the state properly if a member of a ranked collective is removed.
crates:
- name: pallet-ranked-collective