Skip to content

Commit

Permalink
Fix VersionWrapper (#372)
Browse files Browse the repository at this point in the history
  • Loading branch information
yrong authored Oct 22, 2021
1 parent 0d62593 commit 177e549
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
12 changes: 8 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,14 @@ members = [
"xcm-support",
]

resolver = "2"

[profile.dev]
split-debuginfo = "unpacked"

[profile.release]
panic = "unwind"

# The list of dependencies below (which can be both direct and indirect dependencies) are crates
# that are suspected to be CPU-intensive, and that are unlikely to require debugging (as some of
# their debug info might be missing) or to require to be frequently recompiled. We compile these
Expand Down Expand Up @@ -84,10 +92,6 @@ x25519-dalek = { opt-level = 3 }
yamux = { opt-level = 3 }
zeroize = { opt-level = 3 }

[profile.release]
panic = "unwind"
incremental = true

[patch.crates-io]
node-inspect = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.11" }
frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.11" }
Expand Down
1 change: 0 additions & 1 deletion integration-tests/src/kusama_cross_chain_transfer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ fn transfer_from_relay_chain() {
)),
Box::new(VersionedMultiAssets::V1((Here, DOLLARS).into())),
0,
600_000_000
));
});

Expand Down
2 changes: 1 addition & 1 deletion runtime/asgard/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -897,7 +897,7 @@ impl cumulus_pallet_xcm::Config for Runtime {
impl cumulus_pallet_xcmp_queue::Config for Runtime {
type ChannelInfo = ParachainSystem;
type Event = Event;
type VersionWrapper = ();
type VersionWrapper = PolkadotXcm;
type XcmExecutor = XcmExecutor<XcmConfig>;
}

Expand Down
2 changes: 1 addition & 1 deletion runtime/bifrost/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -816,7 +816,7 @@ impl cumulus_pallet_xcm::Config for Runtime {
impl cumulus_pallet_xcmp_queue::Config for Runtime {
type ChannelInfo = ParachainSystem;
type Event = Event;
type VersionWrapper = ();
type VersionWrapper = PolkadotXcm;
type XcmExecutor = XcmExecutor<XcmConfig>;
}

Expand Down

0 comments on commit 177e549

Please sign in to comment.