Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XCM v6 #7123

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft

XCM v6 #7123

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -754,6 +754,7 @@ emulated-integration-tests-common = { path = "cumulus/parachains/integration-tes
enumflags2 = { version = "0.7.7" }
enumn = { version = "0.1.13" }
env_logger = { version = "0.11.2" }
educe = { version = "0.6.0", default-features = false, features = ["Debug", "Clone", "PartialEq", "Eq", "PartialOrd", "Ord", "Default"] }
environmental = { version = "1.1.4", default-features = false }
equivocation-detector = { path = "bridges/relays/equivocation" }
ethabi = { version = "2.0.0", default-features = false, package = "ethabi-decode" }
Expand Down
1 change: 1 addition & 0 deletions polkadot/xcm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ array-bytes = { workspace = true, default-features = true }
bounded-collections = { features = ["serde"], workspace = true }
codec = { features = ["derive", "max-encoded-len"], workspace = true }
derivative = { features = ["use_core"], workspace = true }
educe = { workspace = true }
environmental = { workspace = true }
frame-support = { workspace = true }
hex-literal = { workspace = true, default-features = true }
Expand Down
10 changes: 8 additions & 2 deletions polkadot/xcm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,22 @@ use derivative::Derivative;
use frame_support::dispatch::GetDispatchInfo;
use scale_info::TypeInfo;

mod xcm;
pub (crate) use xcm::XcmBase;

pub mod v3;
pub mod v4;
pub mod v5;
pub mod v6;
pub mod traits;

pub mod lts {
pub use super::v4::*;
}

pub mod latest {
pub use super::v5::*;
pub use super::v6::*;
pub use crate::traits::*;
}

mod double_encoded;
Expand Down Expand Up @@ -517,7 +523,7 @@ pub type AlwaysLts = AlwaysV4;

pub mod prelude {
pub use super::{
latest::prelude::*, AlwaysLatest, AlwaysLts, AlwaysV3, AlwaysV4, AlwaysV5, GetVersion,
latest::{prelude::*, SendXcm}, AlwaysLatest, AlwaysLts, AlwaysV3, AlwaysV4, AlwaysV5, GetVersion,
IdentifyVersion, IntoVersion, Unsupported, Version as XcmVersion, VersionedAsset,
VersionedAssetId, VersionedAssets, VersionedInteriorLocation, VersionedLocation,
VersionedResponse, VersionedXcm, WrapVersion,
Expand Down
Loading
Loading