Companion for #7810 (Define ss58 prefix inside the runtime) (#2182)

* Companion for #7810

* Added missing trait items for tests

* Add another missing trait item

* fixup

* "Update Substrate"

Co-authored-by: parity-processbot <>
This commit is contained in:
Alexander Theißen
2020-12-30 23:52:35 +01:00
committed by GitHub
parent 0d36324839
commit 2c1f43a989
15 changed files with 156 additions and 142 deletions
+2
View File
@@ -124,6 +124,7 @@ type MoreThanHalfCouncil = EnsureOneOf<
parameter_types! {
pub const Version: RuntimeVersion = VERSION;
pub const SS58Prefix: u8 = 2;
}
impl frame_system::Config for Runtime {
@@ -148,6 +149,7 @@ impl frame_system::Config for Runtime {
type OnNewAccount = ();
type OnKilledAccount = ();
type SystemWeightInfo = weights::frame_system::WeightInfo<Runtime>;
type SS58Prefix = SS58Prefix;
}
parameter_types! {