Skip to content

Commit 1d6a04b

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 262510b commit 1d6a04b

File tree

6 files changed

+6
-0
lines changed

6 files changed

+6
-0
lines changed

test/tests/pallet.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,7 @@ impl frame_system::Config for Runtime {
364364
type OnNewAccount = ();
365365
type OnKilledAccount = ();
366366
type SystemWeightInfo = ();
367+
type SS58Prefix = ();
367368
}
368369
impl pallet::Config for Runtime {
369370
type Event = Event;

test/tests/pallet_compatibility.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,7 @@ impl frame_system::Config for Runtime {
226226
type OnNewAccount = ();
227227
type OnKilledAccount = ();
228228
type SystemWeightInfo = ();
229+
type SS58Prefix = ();
229230
}
230231
impl pallet::Config for Runtime {
231232
type Event = Event;

test/tests/pallet_compatibility_instance.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,7 @@ impl frame_system::Config for Runtime {
218218
type OnNewAccount = ();
219219
type OnKilledAccount = ();
220220
type SystemWeightInfo = ();
221+
type SS58Prefix = ();
221222
}
222223
impl pallet::Config for Runtime {
223224
type Event = Event;

test/tests/pallet_instance.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,7 @@ impl frame_system::Config for Runtime {
259259
type OnNewAccount = ();
260260
type OnKilledAccount = ();
261261
type SystemWeightInfo = ();
262+
type SS58Prefix = ();
262263
}
263264
impl pallet::Config for Runtime {
264265
type Event = Event;

test/tests/pallet_version.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ impl frame_system::Config for Runtime {
165165
type OnNewAccount = ();
166166
type OnKilledAccount = ();
167167
type SystemWeightInfo = ();
168+
type SS58Prefix = ();
168169
}
169170

170171
frame_support::construct_runtime!(

test/tests/pallet_with_name_trait_is_valid.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ mod tests {
141141
type OnNewAccount = ();
142142
type OnKilledAccount = ();
143143
type SystemWeightInfo = ();
144+
type SS58Prefix = ();
144145
}
145146

146147
impl pallet_test::Trait for Runtime {

0 commit comments

Comments
 (0)