Skip to content

Commit 75969d8

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 a9bd56d commit 75969d8

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
@@ -79,7 +79,7 @@ impl frame_system::Trait for Test {
7979
type MaximumBlockLength = MaximumBlockLength;
8080
type AvailableBlockRatio = AvailableBlockRatio;
8181
type Version = ();
82-
type ModuleToIndex = ();
82+
type PalletInfo = ();
8383
type AccountData = pallet_balances::AccountData<u128>;
8484
type OnNewAccount = ();
8585
type OnKilledAccount = ();

0 commit comments

Comments
 (0)