Module emulated_integration_tests_common::impls
source · Re-exports§
pub use crate::xcm_helpers::xcm_transact_unpaid_execution;
pub use crate::PROOF_SIZE_THRESHOLD;
pub use crate::REF_TIME_THRESHOLD;
pub use paste;
pub use pallet_assets;
pub use pallet_message_queue;
pub use pallet_xcm;
pub use cumulus_pallet_parachain_system;
pub use cumulus_pallet_xcmp_queue;
Modules§
- To prevent Out of Memory errors on the
DownwardMessageQueue
, an exponential fee factor (DeliveryFeeFactor
) is set. The fee factor increments exponentially after the number of messages in theDownwardMessageQueue
passes a threshold. This threshold is set as:
Macros§
- Panic if an expression doesn’t evaluate to
Ok
.
Structs§
- An opaque 32-byte cryptographic identifier.
Instance1
to be used for instantiable pallets defined with the#[pallet]
macro. Instances 2-16 are also available but are hidden from docs.- Wrapper around the encoded and decoded versions of a value. Caches the decoded value once computed.
- A type that uniquely identifies an HRMP channel. An HRMP channel is established between two paras. In text, we use the notation
(A, B)
to specify a channel between A and B. The channels are unidirectional, meaning that(A, B)
and(B, A)
refer to different channels. The convention is that we use the first item tuple for the sender and the second for the recipient. Only one channel is allowed between two participants in one direction, i.e. there cannot be 2 different channels identified by(A, B)
. A channel with the same para id in sender and recipient is invalid. That is, however, not enforced. - A relative path between state-bearing consensus systems.
- Unique identifier of a parachain.
- Meters consumed weight and a hard limit for the maximal consumable weight.
Enums§
- Aggregate message origin for the
MessageQueue
pallet. - A single item in a path to describe the relative location of a consensus system.
- Non-parent junctions that can be constructed, up to the length of 8. This specific
Junctions
implementation uses a Rustenum
in order to make pattern matching easier. - A global identifier of a data structure existing within consensus.
- Basically just the XCM (more general) version of
ParachainDispatchOrigin
. - Outcome of an XCM execution.
- Identifies a UMP queue inside the
MessageQueue
pallet. - A single XCM message, together with its version code.
- Error codes used in XCM. The first errors codes have explicit indices and are part of the XCM format. Those trailing are merely part of the XCM implementation; there is no expectation that they will retain the same index over time.
Traits§
- Trait that allows zero-copy read of value-references from slices in LE format.
- Something that should be called when a downward message is received.
- Trait that allows zero-copy write of value-references to slices in LE format.
- Trait for providing balance-inspection access to a set of named fungible assets.
- Something that should be called for each batch of messages received over XCMP.
Functions§
Type Aliases§
- Some way of identifying an account on the chain. We intentionally make it equivalent to the public key of our transaction signing scheme.
- Balance of an account.
- A version of XCM.
Derive Macros§
- Derive
parity_scale_codec::Decode
and for struct and enum. - Derive
parity_scale_codec::Encode
andparity_scale_codec::EncodeLike
for struct and enum.