mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-19 15:45:41 +00:00
add frame_system::DefaultConfig to individual pallet DefaultConfigs (#14453)
* add frame_system::DefaultConfig to individual pallet DefaultConfigs * Fixes tests * Minor fix * ".git/.scripts/commands/fmt/fmt.sh" * Adds UI Tests --------- Co-authored-by: Nikhil Gupta <17176722+gupnik@users.noreply.github.com> Co-authored-by: command-bot <>
This commit is contained in:
@@ -203,7 +203,7 @@ pub mod pallet {
|
||||
use crate::{self as frame_system, pallet_prelude::*, *};
|
||||
use frame_support::pallet_prelude::*;
|
||||
|
||||
/// Contains default types suitable for various environments
|
||||
/// Default implementations of [`DefaultConfig`], which can be used to implement [`Config`].
|
||||
pub mod config_preludes {
|
||||
use super::DefaultConfig;
|
||||
|
||||
@@ -342,8 +342,6 @@ pub mod pallet {
|
||||
///
|
||||
/// Expects the `PalletInfo` type that is being generated by `construct_runtime!` in the
|
||||
/// runtime.
|
||||
///
|
||||
/// For tests it is okay to use `()` as type, however it will provide "useless" data.
|
||||
#[pallet::no_default]
|
||||
type PalletInfo: PalletInfo;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user