I am currently developing an alternative to Sudo
and Democracy
. I wish to have a sudo key account, which is allowed to upgrade the chain, but only after a three month review period, the upgrade can get enacted. This can be done by allowing the sudo key account to call the following as root origin.
parachain_system::Call::<T>::authorize_upgrade(code_hash);
Now I want to know if there is any root origin call, which could be useful. It shouldn't have too much power like increasing the total supply/issuance of a token. I am searching for calls which are absolutely necessary to run a parachain.
Here is some example: I thought about the extrinsic parasSudoWrapper -> sudoScheduleParaInitilialize
. I know this has to be called by the relaychain, but the point I am trying to make is that there might be some extrinsics, which are absolutely critical to keep running a parachain service.
If there aren't any other than authorize_upgrade
let me know. I know, that authorize_upgrade
can alter the whole chain to allow any extrinsic again, but I want to ensure, that the parachain keeps running in the 3 month enactment/waiting period.
For example is frame_system::set_heap_pages
, cumulus::sudo_send_upward_message
, xcmp_queue::update_suspend_threshold
, xcmp_queue::update_drop_threshold
, xcmp_queue::update_resume_threshold
, xcmp_queue::update_threshold_weight
, xcmp_queue::update_weight_restrict_decay
, xcmp_queue::update_xcmp_max_individual_weight
somehow important so that the network keeps running even without access to these root calls?