referrerpolicy=no-referrer-when-downgrade
polkadot_test_runtime::xcm_config

Type Alias Barrier

Source
pub type Barrier = AllowUnpaidExecutionFrom<Everything>;

Aliased Type§

struct Barrier(/* private fields */);

Trait Implementations

Source§

impl<T> ShouldExecute for AllowUnpaidExecutionFrom<T>
where T: Contains<Location>,

Source§

fn should_execute<RuntimeCall>( origin: &Location, instructions: &mut [Instruction<RuntimeCall>], max_weight: Weight, properties: &mut Properties, ) -> Result<(), ProcessMessageError>

Returns Ok(()) if the given message may be executed. Read more