dkg-substrate
dkg-substrate copied to clipboard
Remove all ensure_root and replace with EnsureOrigin<>
Issue summary
We use ensure_root
in a lot of places, the better way to handle this check is to have a ForceOrigin
and then configure it from runtime. This will make our future migrations a lot easier when we move away from Sudo.
@dutterbutter please, assign it to me.