zeitgeist
zeitgeist copied to clipboard
[Runtime] Add dangerous calls to BaseCallFilter
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.