diff --git a/bin/node/runtime/src/lib.rs b/bin/node/runtime/src/lib.rs index 3732adfb9a78d..d17d793843fb8 100644 --- a/bin/node/runtime/src/lib.rs +++ b/bin/node/runtime/src/lib.rs @@ -186,7 +186,7 @@ parameter_types! { }) .avg_block_initialization(AVERAGE_ON_INITIALIZE_RATIO) .build_or_panic(); - pub const SS58Prefix: u8 = 42; + pub const SS58Prefix: u16 = 42; } const_assert!(NORMAL_DISPATCH_RATIO.deconstruct() >= AVERAGE_ON_INITIALIZE_RATIO.deconstruct()); diff --git a/frame/system/src/lib.rs b/frame/system/src/lib.rs index 6938df7e86c23..f0597ea2fe0f3 100644 --- a/frame/system/src/lib.rs +++ b/frame/system/src/lib.rs @@ -266,7 +266,7 @@ pub mod pallet { /// that the runtime should know about the prefix in order to make use of it as /// an identifier of the chain. #[pallet::constant] - type SS58Prefix: Get; + type SS58Prefix: Get; /// What to do if the user wants the code set to something. Just use `()` unless you are in /// cumulus.