Trait pallet_xcm_benchmarks::Config [−][src]
pub trait Config: Config {
type XcmConfig: Config;
type AccountIdConverter: Convert<MultiLocation, Self::AccountId>;
fn valid_destination() -> Result<MultiLocation, DispatchError>;
}
Expand description
A base trait for all individual pallets
Associated Types
The XCM configurations.
These might affect the execution of XCM messages, such as defining how the
TransactAsset
is implemented.
type AccountIdConverter: Convert<MultiLocation, Self::AccountId>
type AccountIdConverter: Convert<MultiLocation, Self::AccountId>
A converter between a multi-location to a sovereign account.
Required methods
Does any necessary setup to create a valid destination for XCM messages. Returns that destination’s multi-location to be used in benchmarks.