Skip to content

Commit

Permalink
Merge branch 'bko-bump-to-1.7' into sv-pk-bridge-snowbridge
Browse files Browse the repository at this point in the history
# Conflicts:
#	system-parachains/bridge-hubs/bridge-hub-kusama/src/lib.rs
#	system-parachains/bridge-hubs/bridge-hub-polkadot/src/lib.rs
  • Loading branch information
claravanstaden authored and claravanstaden committed Feb 21, 2024
2 parents 82ddda2 + 24d61eb commit 5d9e08a
Show file tree
Hide file tree
Showing 23 changed files with 160 additions and 81 deletions.
59 changes: 29 additions & 30 deletions Cargo.lock

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

4 changes: 2 additions & 2 deletions integration-tests/emulated/assets/asset-hub-kusama/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ pallet-message-queue = { version = "32.0.0" }

# Polkadot
xcm = { package = "staging-xcm", version = "8.0.0" }
xcm-executor = { package = "staging-xcm-executor", default-features = false, version = "8.0.0" }
xcm-executor = { package = "staging-xcm-executor", default-features = false, version = "8.0.1" }
pallet-xcm = { version = "8.0.0" }

# Cumulus
parachains-common = { version = "8.0.0" }
xcm-emulator = { version = "0.6.0" }
asset-test-utils = { version = "8.0.0" }
asset-test-utils = { version = "8.0.1" }

# Local
emulated-chains = { path = "../../chains" }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ pallet-message-queue = { version = "32.0.0" }

# Polkadot
xcm = { package = "staging-xcm", version = "8.0.0" }
xcm-executor = { package = "staging-xcm-executor", default-features = false, version = "8.0.0" }
xcm-executor = { package = "staging-xcm-executor", default-features = false, version = "8.0.1" }
pallet-xcm = { version = "8.0.0" }

# Cumulus
parachains-common = { version = "8.0.0" }
xcm-emulator = { version = "0.6.0" }
asset-test-utils = { version = "8.0.0" }
asset-test-utils = { version = "8.0.1" }

# Local
emulated-chains = { path = "../../chains" }
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/emulated/common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ cumulus-primitives-core = { version = "0.8.0" }
xcm-emulator = { version = "0.6.0" }
cumulus-pallet-xcmp-queue = { version = "0.8.0" }
cumulus-pallet-parachain-system = { features = ["parameterized-consensus-hook",] , version = "0.8.0" }
asset-test-utils = { version = "8.0.0" }
asset-test-utils = { version = "8.0.1" }
cumulus-pallet-dmp-queue = { version = "0.8.0" }

# Bridges
Expand Down
2 changes: 1 addition & 1 deletion relay/kusama/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ runtime-parachains = { package = "polkadot-runtime-parachains", default-features
primitives = { package = "polkadot-primitives", default-features = false , version = "8.0.0" }

xcm = { package = "staging-xcm", default-features = false , version = "8.0.0" }
xcm-executor = { package = "staging-xcm-executor", default-features = false , version = "8.0.0" }
xcm-executor = { package = "staging-xcm-executor", default-features = false , version = "8.0.1" }
xcm-builder = { package = "staging-xcm-builder", default-features = false , version = "8.0.0" }

sp-debug-derive = { default-features = false, version = "14.0.0" }
Expand Down
5 changes: 4 additions & 1 deletion relay/kusama/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1676,7 +1676,7 @@ impl Get<Perbill> for NominationPoolsMigrationV4OldPallet {
///
/// This contains the combined migrations of the last 10 releases. It allows to skip runtime
/// upgrades in case governance decides to do so. THE ORDER IS IMPORTANT.
pub type Migrations = migrations::Unreleased;
pub type Migrations = (migrations::Unreleased, migrations::Permanent);

/// The runtime migrations per release.
#[allow(deprecated, missing_docs)]
Expand All @@ -1701,6 +1701,9 @@ pub mod migrations {
// this comment!
parachains_scheduler::migration::MigrateV1ToV2<Runtime>,
);

/// Migrations/checks that do not need to be versioned and can run on every update.
pub type Permanent = (pallet_xcm::migration::MigrateToLatestXcmVersion<Runtime>,);
}

/// Unchecked extrinsic type as expected by this runtime.
Expand Down
2 changes: 1 addition & 1 deletion relay/polkadot/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ runtime-parachains = { package = "polkadot-runtime-parachains", default-features
primitives = { package = "polkadot-primitives", default-features = false , version = "8.0.0" }

xcm = { package = "staging-xcm", default-features = false , version = "8.0.0" }
xcm-executor = { package = "staging-xcm-executor", default-features = false , version = "8.0.0" }
xcm-executor = { package = "staging-xcm-executor", default-features = false , version = "8.0.1" }
xcm-builder = { package = "staging-xcm-builder", default-features = false , version = "8.0.0" }

sp-debug-derive = { default-features = false, version = "14.0.0" }
Expand Down
5 changes: 4 additions & 1 deletion relay/polkadot/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1697,7 +1697,7 @@ impl Get<Perbill> for NominationPoolsMigrationV4OldPallet {
///
/// This contains the combined migrations of the last 10 releases. It allows to skip runtime
/// upgrades in case governance decides to do so. THE ORDER IS IMPORTANT.
pub type Migrations = migrations::Unreleased;
pub type Migrations = (migrations::Unreleased, migrations::Permanent);

/// The runtime migrations per release.
#[allow(deprecated, missing_docs)]
Expand Down Expand Up @@ -1734,6 +1734,9 @@ pub mod migrations {
// this comment!
parachains_scheduler::migration::MigrateV1ToV2<Runtime>,
);

/// Migrations/checks that do not need to be versioned and can run on every update.
pub type Permanent = (pallet_xcm::migration::MigrateToLatestXcmVersion<Runtime>,);
}

/// Unchecked extrinsic type as expected by this runtime.
Expand Down
4 changes: 2 additions & 2 deletions system-parachains/asset-hubs/asset-hub-kusama/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ polkadot-parachain-primitives = { default-features = false, version = "7.0.0" }
polkadot-runtime-common = { default-features = false, version = "8.0.0" }
xcm = { package = "staging-xcm", default-features = false, version = "8.0.0" }
xcm-builder = { package = "staging-xcm-builder", default-features = false, version = "8.0.0" }
xcm-executor = { package = "staging-xcm-executor", default-features = false, version = "8.0.0" }
xcm-executor = { package = "staging-xcm-executor", default-features = false, version = "8.0.1" }

# Cumulus
cumulus-pallet-aura-ext = { default-features = false , version = "0.8.0" }
Expand All @@ -96,7 +96,7 @@ pallet-xcm-bridge-hub-router = { default-features = false , version = "0.6.0" }
snowbridge-router-primitives = { default-features = false , version = "0.1.0" }

[dev-dependencies]
asset-test-utils = { version = "8.0.0" }
asset-test-utils = { version = "8.0.1" }
parachains-runtimes-test-utils = { version = "8.0.0" }
sp-io = { version = "31.0.0" }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
#![cfg_attr(not(feature = "std"), no_std)]

use codec::{Decode, Encode};
use frame_support::weights::Weight;
use scale_info::TypeInfo;
use xcm::prelude::*;

Expand Down
2 changes: 2 additions & 0 deletions system-parachains/asset-hubs/asset-hub-kusama/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -990,6 +990,8 @@ pub type UncheckedExtrinsic =
pub type Migrations = (
// unreleased
cumulus_pallet_xcmp_queue::migration::v4::MigrationToV4<Runtime>,
// permanent
pallet_xcm::migration::MigrateToLatestXcmVersion<Runtime>,
);

/// Executive: handles dispatch to the various modules.
Expand Down
Loading

0 comments on commit 5d9e08a

Please sign in to comment.