Skip to content

Commit d7eb0dd

Browse files
authored
Upgrade polkadot-sdk version (#2027)
* Upgrade polkadot-sdk version * Upgrade runtime version * fix ci
1 parent cfb3352 commit d7eb0dd

File tree

8 files changed

+415
-441
lines changed

8 files changed

+415
-441
lines changed

Cargo.lock

Lines changed: 408 additions & 419 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node/cli/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "bifrost-cli"
3-
version = "0.23.1"
3+
version = "0.23.2"
44
authors.workspace = true
55
description = "Bifrost Parachain Node"
66
build = "build.rs"

runtime/bifrost-kusama/src/lib.rs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
172172
spec_name: Cow::Borrowed("bifrost"),
173173
impl_name: Cow::Borrowed("bifrost"),
174174
authoring_version: 1,
175-
spec_version: 23001,
175+
spec_version: 23002,
176176
impl_version: 0,
177177
apis: RUNTIME_API_VERSIONS,
178178
transaction_version: 1,
@@ -1815,10 +1815,6 @@ impl cumulus_pallet_xcmp_queue::migration::v5::V5Config for Runtime {
18151815
type ChannelList = ParachainSystem;
18161816
}
18171817

1818-
parameter_types! {
1819-
pub const MultiBlockMigrationsName: &'static str = "MultiBlockMigrations";
1820-
}
1821-
18221818
/// All migrations that will run on the next runtime upgrade.
18231819
///
18241820
/// This contains the combined migrations of the last 10 releases. It allows to skip runtime
@@ -1835,7 +1831,6 @@ pub mod migrations {
18351831
pub type Unreleased = (
18361832
// permanent migration, do not remove
18371833
pallet_xcm::migration::MigrateToLatestXcmVersion<Runtime>,
1838-
frame_support::migrations::RemovePallet<MultiBlockMigrationsName, RocksDbWeight>,
18391834
);
18401835
}
18411836

runtime/bifrost-kusama/src/xcm_config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ impl pallet_xcm::Config for Runtime {
277277
type SendXcmOrigin = EnsureXcmOrigin<RuntimeOrigin, LocalOriginToLocation>;
278278
type Weigher =
279279
WeightInfoBounds<weights::xcm::BifrostXcmWeight<RuntimeCall>, RuntimeCall, MaxInstructions>;
280-
type XcmExecuteFilter = Everything;
280+
type XcmExecuteFilter = Nothing;
281281
#[cfg(feature = "runtime-benchmarks")]
282282
type XcmExecutor = bifrost_primitives::MockXcmExecutor;
283283
#[cfg(not(feature = "runtime-benchmarks"))]

runtime/bifrost-paseo/src/lib.rs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
197197
spec_name: Cow::Borrowed("bifrost_paseo"),
198198
impl_name: Cow::Borrowed("bifrost_paseo"),
199199
authoring_version: 0,
200-
spec_version: 23001,
200+
spec_version: 23002,
201201
impl_version: 0,
202202
apis: RUNTIME_API_VERSIONS,
203203
transaction_version: 1,
@@ -1726,10 +1726,6 @@ impl cumulus_pallet_xcmp_queue::migration::v5::V5Config for Runtime {
17261726
type ChannelList = ParachainSystem;
17271727
}
17281728

1729-
parameter_types! {
1730-
pub const MultiBlockMigrationsName: &'static str = "MultiBlockMigrations";
1731-
}
1732-
17331729
/// All migrations that will run on the next runtime upgrade.
17341730
///
17351731
/// This contains the combined migrations of the last 10 releases. It allows to skip runtime
@@ -1745,7 +1741,6 @@ pub mod migrations {
17451741
pub type Unreleased = (
17461742
// permanent migration, do not remove
17471743
pallet_xcm::migration::MigrateToLatestXcmVersion<Runtime>,
1748-
frame_support::migrations::RemovePallet<MultiBlockMigrationsName, RocksDbWeight>,
17491744
);
17501745
}
17511746

runtime/bifrost-paseo/src/xcm_config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ impl pallet_xcm::Config for Runtime {
248248
type SendXcmOrigin = EnsureXcmOrigin<RuntimeOrigin, LocalOriginToLocation>;
249249
type Weigher =
250250
WeightInfoBounds<weights::xcm::BifrostXcmWeight<RuntimeCall>, RuntimeCall, MaxInstructions>;
251-
type XcmExecuteFilter = Everything;
251+
type XcmExecuteFilter = Nothing;
252252
type XcmExecutor = XcmExecutor<XcmConfig>;
253253
type XcmReserveTransferFilter = Everything;
254254
#[cfg(feature = "runtime-benchmarks")]

runtime/bifrost-polkadot/src/lib.rs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
201201
spec_name: Cow::Borrowed("bifrost_polkadot"),
202202
impl_name: Cow::Borrowed("bifrost_polkadot"),
203203
authoring_version: 0,
204-
spec_version: 23001,
204+
spec_version: 23002,
205205
impl_version: 0,
206206
apis: RUNTIME_API_VERSIONS,
207207
transaction_version: 1,
@@ -1740,10 +1740,6 @@ impl cumulus_pallet_xcmp_queue::migration::v5::V5Config for Runtime {
17401740
type ChannelList = ParachainSystem;
17411741
}
17421742

1743-
parameter_types! {
1744-
pub const MultiBlockMigrationsName: &'static str = "MultiBlockMigrations";
1745-
}
1746-
17471743
/// All migrations that will run on the next runtime upgrade.
17481744
///
17491745
/// This contains the combined migrations of the last 10 releases. It allows to skip runtime
@@ -1759,7 +1755,6 @@ pub mod migrations {
17591755
pub type Unreleased = (
17601756
// permanent migration, do not remove
17611757
pallet_xcm::migration::MigrateToLatestXcmVersion<Runtime>,
1762-
frame_support::migrations::RemovePallet<MultiBlockMigrationsName, RocksDbWeight>,
17631758
);
17641759
}
17651760

runtime/bifrost-polkadot/src/xcm_config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ impl pallet_xcm::Config for Runtime {
279279
type SendXcmOrigin = EnsureXcmOrigin<RuntimeOrigin, LocalOriginToLocation>;
280280
type Weigher =
281281
WeightInfoBounds<weights::xcm::BifrostXcmWeight<RuntimeCall>, RuntimeCall, MaxInstructions>;
282-
type XcmExecuteFilter = Everything;
282+
type XcmExecuteFilter = Nothing;
283283
type XcmExecutor = XcmExecutor<XcmConfig>;
284284
type XcmReserveTransferFilter = Everything;
285285
type XcmRouter = XcmRouter;

0 commit comments

Comments
 (0)