Skip to content

Commit fed226b

Browse files
authored
Rename ModuleToIndex to PalletRuntimeSetup (#7148)
* Rename `ModuleToIndex` to `PalletRuntimeSetup` Besides the renaming it also adds support getting the name of a pallet as configured in the runtime. * Rename it to `PalletInfo` * Remove accidentally added files
1 parent 2f1a8b2 commit fed226b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mock.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ impl frame_system::Trait for Test {
139139
type MaximumBlockLength = MaximumBlockLength;
140140
type AvailableBlockRatio = AvailableBlockRatio;
141141
type Version = ();
142-
type ModuleToIndex = ();
142+
type PalletInfo = ();
143143
type AccountData = ();
144144
type OnNewAccount = ();
145145
type OnKilledAccount = ();

0 commit comments

Comments
 (0)