pub trait DefaultConfig: DefaultConfig {
type RuntimeEvent;
type WeightInfo: WeightInfo;
type DestinationVersion: GetVersion;
type ByteFee: Get<u128>;
type FeeAsset: Get<Option<AssetId>>;
}
Expand description
Based on Config
. Auto-generated by
#[pallet::config(with_default)]
.
Can be used in tandem with
#[register_default_config]
and
#[derive_impl]
to derive test config traits
based on existing pallet config traits in a safe and developer-friendly way.
See here for more information and caveats about
the auto-generated DefaultConfig
trait and how it is generated.
Required Associated Types§
sourcetype RuntimeEvent
type RuntimeEvent
The overarching event type.
sourcetype WeightInfo: WeightInfo
type WeightInfo: WeightInfo
Benchmarks results from runtime we’re plugged into.
sourcetype DestinationVersion: GetVersion
type DestinationVersion: GetVersion
Checks the XCM version for the destination.
Object Safety§
This trait is not object safe.