From e6fb85a20366220eb8157b55e1c339f2ffa2e5ab Mon Sep 17 00:00:00 2001 From: Gavin Wood Date: Sun, 18 Aug 2019 15:36:36 +0200 Subject: [PATCH] Move sudo to the last module (#381) --- polkadot/runtime/src/lib.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/polkadot/runtime/src/lib.rs b/polkadot/runtime/src/lib.rs index 29712093ae..40dcc9ce08 100644 --- a/polkadot/runtime/src/lib.rs +++ b/polkadot/runtime/src/lib.rs @@ -505,15 +505,15 @@ construct_runtime!( // Claims. Usable initially. Claims: claims::{Module, Call, Storage, Event, Config, ValidateUnsigned}, - // Sudo. Usable initially. - // RELEASE: remove this for release build. - Sudo: sudo, - // Parachains stuff; slots are disabled (no auctions initially). The rest are safe as they // have no public dispatchables. Parachains: parachains::{Module, Call, Storage, Config, Inherent, Origin}, Attestations: attestations::{Module, Call, Storage}, Slots: slots::{Module, Call, Storage, Event}, + + // Sudo. Usable initially. + // RELEASE: remove this for release build. + Sudo: sudo, } );