mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 09:57:56 +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:
@@ -27,7 +27,7 @@ pub trait Trait: 'static + Eq + Clone {
|
||||
type AccountId: Encode + EncodeLike + Decode;
|
||||
type Call;
|
||||
type Event: From<Event<Self>>;
|
||||
type ModuleToIndex: frame_support::traits::ModuleToIndex;
|
||||
type PalletInfo: frame_support::traits::PalletInfo;
|
||||
}
|
||||
|
||||
frame_support::decl_module! {
|
||||
|
||||
Reference in New Issue
Block a user