mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-20 10:25:41 +00:00
update ss58 type to u16 (#8955)
This commit is contained in:
@@ -186,7 +186,7 @@ parameter_types! {
|
|||||||
})
|
})
|
||||||
.avg_block_initialization(AVERAGE_ON_INITIALIZE_RATIO)
|
.avg_block_initialization(AVERAGE_ON_INITIALIZE_RATIO)
|
||||||
.build_or_panic();
|
.build_or_panic();
|
||||||
pub const SS58Prefix: u8 = 42;
|
pub const SS58Prefix: u16 = 42;
|
||||||
}
|
}
|
||||||
|
|
||||||
const_assert!(NORMAL_DISPATCH_RATIO.deconstruct() >= AVERAGE_ON_INITIALIZE_RATIO.deconstruct());
|
const_assert!(NORMAL_DISPATCH_RATIO.deconstruct() >= AVERAGE_ON_INITIALIZE_RATIO.deconstruct());
|
||||||
|
|||||||
@@ -266,7 +266,7 @@ pub mod pallet {
|
|||||||
/// that the runtime should know about the prefix in order to make use of it as
|
/// that the runtime should know about the prefix in order to make use of it as
|
||||||
/// an identifier of the chain.
|
/// an identifier of the chain.
|
||||||
#[pallet::constant]
|
#[pallet::constant]
|
||||||
type SS58Prefix: Get<u8>;
|
type SS58Prefix: Get<u16>;
|
||||||
|
|
||||||
/// What to do if the user wants the code set to something. Just use `()` unless you are in
|
/// What to do if the user wants the code set to something. Just use `()` unless you are in
|
||||||
/// cumulus.
|
/// cumulus.
|
||||||
|
|||||||
Reference in New Issue
Block a user