mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-08 19:27:23 +00:00
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
This commit is contained in:
@@ -297,7 +297,7 @@ mod tests {
|
||||
type AccountId: From<u32> + Encode;
|
||||
type BlockNumber: From<u32> + Encode;
|
||||
type SomeValue: Get<u32>;
|
||||
type ModuleToIndex: crate::traits::ModuleToIndex;
|
||||
type PalletInfo: crate::traits::PalletInfo;
|
||||
type Call;
|
||||
}
|
||||
|
||||
@@ -443,7 +443,7 @@ mod tests {
|
||||
type AccountId = u32;
|
||||
type BlockNumber = u32;
|
||||
type SomeValue = SystemValue;
|
||||
type ModuleToIndex = ();
|
||||
type PalletInfo = ();
|
||||
type Call = Call;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user