Skip to content

Commit f40dc50

Browse files
authored
Define ss58 prefix inside the runtime (#7810)
* Add SS58Prefix type to the frame_system config trait * Remove unused chain_id runtime interface
1 parent beae7ba commit f40dc50

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

benchmarking/src/mock.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ impl frame_system::Config for Test {
6363
type OnNewAccount = ();
6464
type OnKilledAccount = (Balances,);
6565
type SystemWeightInfo = ();
66+
type SS58Prefix = ();
6667
}
6768
parameter_types! {
6869
pub const ExistentialDeposit: Balance = 10;

src/mock.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ impl frame_system::Config for Runtime {
116116
type OnNewAccount = ();
117117
type OnKilledAccount = ();
118118
type SystemWeightInfo = ();
119+
type SS58Prefix = ();
119120
}
120121

121122
parameter_types! {

0 commit comments

Comments
 (0)