zeitgeist icon indicating copy to clipboard operation
zeitgeist copied to clipboard

[Runtime] Add dangerous calls to BaseCallFilter

Open sea212 opened this issue 2 years ago • 0 comments

There are some calls which are dangerous like system.SetCode and system.setCodeWithoutChecks, which will work in standalone chains but will break the parachain once called by root (democracy). There are also some calls which lead to an inconsistent storage, like setMembers in collectives. The membership pallet is responsible for handling memberships of collectives and whenever the set of members is updated through this pallet, it will also update them in the collective pallet. It works in that direction, but not the other way: Calling setMembers directly will result in different sets of members within the collective and the associated membership instance.

sea212 avatar Jul 26 '22 20:07 sea212