diff --git a/Cargo.lock b/Cargo.lock index cfab641c9..fca53e585 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -609,7 +609,7 @@ dependencies = [ [[package]] name = "astar-runtime" -version = "5.46.0" +version = "12.0.0" dependencies = [ "array-bytes", "astar-primitives", @@ -14353,7 +14353,7 @@ dependencies = [ [[package]] name = "shibuya-runtime" -version = "5.46.0" +version = "12.0.0" dependencies = [ "array-bytes", "astar-primitives", @@ -14477,7 +14477,7 @@ dependencies = [ [[package]] name = "shiden-runtime" -version = "5.46.0" +version = "12.0.0" dependencies = [ "array-bytes", "astar-primitives", diff --git a/runtime/astar/Cargo.toml b/runtime/astar/Cargo.toml index 22575f9a1..789fdd079 100644 --- a/runtime/astar/Cargo.toml +++ b/runtime/astar/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "astar-runtime" -version = "5.46.0" +version = "12.0.0" build = "build.rs" authors.workspace = true edition.workspace = true diff --git a/runtime/astar/src/lib.rs b/runtime/astar/src/lib.rs index 1fad5c74b..7a292b4b0 100644 --- a/runtime/astar/src/lib.rs +++ b/runtime/astar/src/lib.rs @@ -186,7 +186,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("astar"), impl_name: create_runtime_str!("astar"), authoring_version: 1, - spec_version: 1100, + spec_version: 1200, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 3, @@ -1507,11 +1507,6 @@ impl pallet_migrations::Config for Runtime { type WeightInfo = pallet_migrations::weights::SubstrateWeight; } -impl cumulus_pallet_xcmp_queue::migration::v5::V5Config for Runtime { - // This must be the same as the `ChannelInfo` from the `Config`: - type ChannelList = ParachainSystem; -} - construct_runtime!( pub struct Runtime { @@ -1614,40 +1609,13 @@ pub type Executive = frame_executive::Executive< Migrations, >; -parameter_types! { - // Threshold amount variation allowed for this migration - 10% - pub const ThresholdVariationPercentage: u32 = 10; - // percentages below are calculated based on total issuance at the time when dApp staking v3 was launched (8.4B) - pub const TierThresholds: [TierThreshold; 4] = [ - TierThreshold::DynamicPercentage { - percentage: Perbill::from_parts(35_700_000), // 3.57% - minimum_required_percentage: Perbill::from_parts(23_800_000), // 2.38% - }, - TierThreshold::DynamicPercentage { - percentage: Perbill::from_parts(8_900_000), // 0.89% - minimum_required_percentage: Perbill::from_parts(6_000_000), // 0.6% - }, - TierThreshold::DynamicPercentage { - percentage: Perbill::from_parts(2_380_000), // 0.238% - minimum_required_percentage: Perbill::from_parts(1_790_000), // 0.179% - }, - TierThreshold::FixedPercentage { - required_percentage: Perbill::from_parts(200_000), // 0.02% - }, - ]; -} - -parameter_types! { - pub const DmpQueuePalletName: &'static str = "DmpQueue"; -} - /// All migrations that will run on the next runtime upgrade. /// /// __NOTE:__ THE ORDER IS IMPORTANT. pub type Migrations = (Unreleased, Permanent); /// Unreleased migrations. Add new ones here: -pub type Unreleased = (cumulus_pallet_xcmp_queue::migration::v5::MigrateV4ToV5,); +pub type Unreleased = (); /// Migrations/checks that do not need to be versioned and can run on every upgrade. pub type Permanent = (pallet_xcm::migration::MigrateToLatestXcmVersion,); diff --git a/runtime/shibuya/Cargo.toml b/runtime/shibuya/Cargo.toml index 2de419de8..b5d38aef7 100644 --- a/runtime/shibuya/Cargo.toml +++ b/runtime/shibuya/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "shibuya-runtime" -version = "5.46.0" +version = "12.0.0" build = "build.rs" authors.workspace = true edition.workspace = true diff --git a/runtime/shibuya/src/lib.rs b/runtime/shibuya/src/lib.rs index 01ffffd62..dddd9dbe9 100644 --- a/runtime/shibuya/src/lib.rs +++ b/runtime/shibuya/src/lib.rs @@ -208,7 +208,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("shibuya"), impl_name: create_runtime_str!("shibuya"), authoring_version: 1, - spec_version: 1100, + spec_version: 1200, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 3, diff --git a/runtime/shiden/Cargo.toml b/runtime/shiden/Cargo.toml index 54a7f6d64..ced4ac7b5 100644 --- a/runtime/shiden/Cargo.toml +++ b/runtime/shiden/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "shiden-runtime" -version = "5.46.0" +version = "12.0.0" build = "build.rs" authors.workspace = true edition.workspace = true diff --git a/runtime/shiden/src/lib.rs b/runtime/shiden/src/lib.rs index a37b1201c..1a14b19e6 100644 --- a/runtime/shiden/src/lib.rs +++ b/runtime/shiden/src/lib.rs @@ -177,7 +177,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("shiden"), impl_name: create_runtime_str!("shiden"), authoring_version: 1, - spec_version: 1100, + spec_version: 1200, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 3, @@ -1287,33 +1287,6 @@ pub type Executive = frame_executive::Executive< Migrations, >; -parameter_types! { - // Threshold amount variation allowed for this migration - 10% - pub const ThresholdVariationPercentage: u32 = 10; - // percentages below are calculated based on a total issuance at the time when dApp staking v3 was launched (84.3M) - pub const TierThresholds: [TierThreshold; 4] = [ - TierThreshold::DynamicPercentage { - percentage: Perbill::from_parts(35_700_000), // 3.57% - minimum_required_percentage: Perbill::from_parts(23_800_000), // 2.38% - }, - TierThreshold::DynamicPercentage { - percentage: Perbill::from_parts(8_900_000), // 0.89% - minimum_required_percentage: Perbill::from_parts(6_000_000), // 0.6% - }, - TierThreshold::DynamicPercentage { - percentage: Perbill::from_parts(2_380_000), // 0.238% - minimum_required_percentage: Perbill::from_parts(1_790_000), // 0.179% - }, - TierThreshold::FixedPercentage { - required_percentage: Perbill::from_parts(600_000), // 0.06% - }, - ]; -} - -parameter_types! { - pub const DmpQueuePalletName: &'static str = "DmpQueue"; -} - /// All migrations that will run on the next runtime upgrade. /// /// __NOTE:__ THE ORDER IS IMPORTANT.