mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 04:07:57 +00:00
294e99831d
Needs https://github.com/sam0x17/macro_magic/pull/13 The associated PR allows the export of tokens from macro_magic at the specified path. This fixes the path issue in derive-impl. Now, we can import the default config using the standard rust syntax: ```rust use frame_system::config_preludes::TestDefaultConfig; [derive_impl(TestDefaultConfig as frame_system::DefaultConfig)] impl frame_system::DefaultConfig for Test { //.... } ```
Default Config Example Pallet
An example pallet demonstrating the ability to derive default testing configs via
#[derive_impl] and #[pallet::config(with_default)].
Run cargo doc --package pallet-default-config-example --open to view this pallet's documentation.
License: MIT-0