Move sudo to the last module (#381)

This commit is contained in:
Gavin Wood
2019-08-18 15:36:36 +02:00
committed by GitHub
parent cdefa9f9ad
commit e6fb85a203
+4 -4
View File
@@ -505,15 +505,15 @@ construct_runtime!(
// Claims. Usable initially. // Claims. Usable initially.
Claims: claims::{Module, Call, Storage, Event<T>, Config<T>, ValidateUnsigned}, Claims: claims::{Module, Call, Storage, Event<T>, Config<T>, 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 // Parachains stuff; slots are disabled (no auctions initially). The rest are safe as they
// have no public dispatchables. // have no public dispatchables.
Parachains: parachains::{Module, Call, Storage, Config<T>, Inherent, Origin}, Parachains: parachains::{Module, Call, Storage, Config<T>, Inherent, Origin},
Attestations: attestations::{Module, Call, Storage}, Attestations: attestations::{Module, Call, Storage},
Slots: slots::{Module, Call, Storage, Event<T>}, Slots: slots::{Module, Call, Storage, Event<T>},
// Sudo. Usable initially.
// RELEASE: remove this for release build.
Sudo: sudo,
} }
); );