substrate icon indicating copy to clipboard operation
substrate copied to clipboard

Alliance pallet: add force_set_members instead of init_members function

Open muharem opened this issue 3 years ago • 0 comments

Fixes https://github.com/paritytech/substrate/issues/11928

Root call init_members which is mean to initialize the alliance can be called only once. If an initial call had a mistake or the alliance lost the trust, there is no way to reset the alliance.

In the PR we changing the name and behaviour of the init_members function. Instead force_set_members function lets perform a root call on already initialized alliance, which will reset it and initialize new.

muharem avatar Aug 09 '22 10:08 muharem