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
@@ -121,6 +121,7 @@ sp_api::decl_runtime_apis! {
parameter_types! {
pub const Version: RuntimeVersion = VERSION;
pub const SS58Prefix: u8 = 42;
}
impl frame_system::Config for Runtime {
@@ -145,6 +146,7 @@ impl frame_system::Config for Runtime {
type OnNewAccount = ();
type OnKilledAccount = ();
type SystemWeightInfo = ();
type SS58Prefix = SS58Prefix;
}
impl<C> frame_system::offchain::SendTransactionTypes<C> for Runtime where