Skip to content

Commit 12ca5f6

Browse files
feat: runtime release 1900 prep (#1553)
* feat: bump spec version * feat: remove completed migrations * fix: revert bacl unreleased migration from astar * feat: update min collator candidates to 1 in shibuya
1 parent ad343db commit 12ca5f6

File tree

8 files changed

+18
-20
lines changed

8 files changed

+18
-20
lines changed

Cargo.lock

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

pallets/collator-selection/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "pallet-collator-selection"
33
description = "Simple staking pallet with a fixed stake."
44
license = "Apache-2.0"
55
readme = "README.md"
6-
version = "3.3.2"
6+
version = "4.0.0"
77
authors.workspace = true
88
edition.workspace = true
99
homepage.workspace = true

runtime/astar/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "astar-runtime"
3-
version = "18.0.0"
3+
version = "19.0.0"
44
build = "build.rs"
55
authors.workspace = true
66
edition.workspace = true

runtime/astar/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
193193
spec_name: Cow::Borrowed("astar"),
194194
impl_name: Cow::Borrowed("astar"),
195195
authoring_version: 1,
196-
spec_version: 1800,
196+
spec_version: 1900,
197197
impl_version: 0,
198198
apis: RUNTIME_API_VERSIONS,
199199
transaction_version: 3,

runtime/shibuya/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "shibuya-runtime"
3-
version = "18.0.0"
3+
version = "19.0.0"
44
build = "build.rs"
55
authors.workspace = true
66
edition.workspace = true

runtime/shibuya/src/lib.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
212212
spec_name: Cow::Borrowed("shibuya"),
213213
impl_name: Cow::Borrowed("shibuya"),
214214
authoring_version: 1,
215-
spec_version: 1800,
215+
spec_version: 1900,
216216
impl_version: 0,
217217
apis: RUNTIME_API_VERSIONS,
218218
transaction_version: 3,
@@ -615,7 +615,7 @@ impl pallet_session::Config for Runtime {
615615
parameter_types! {
616616
pub const PotId: PalletId = PalletId(*b"PotStake");
617617
pub const MaxCandidates: u32 = 148;
618-
pub const MinCandidates: u32 = 5;
618+
pub const MinCandidates: u32 = 1;
619619
pub const MaxInvulnerables: u32 = 48;
620620
pub const SlashRatio: Perbill = Perbill::from_percent(1);
621621
pub const KickThreshold: BlockNumber = 2 * HOURS; // 2 SessionPeriod
@@ -1759,8 +1759,7 @@ parameter_types! {
17591759
}
17601760

17611761
/// Unreleased migrations. Add new ones here:
1762-
pub type Unreleased =
1763-
(pallet_inflation::migration::versioned_migrations::V1ToV2<Runtime, DecayRate, DecayFactor>,);
1762+
pub type Unreleased = ();
17641763

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

runtime/shiden/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "shiden-runtime"
3-
version = "18.0.0"
3+
version = "19.0.0"
44
build = "build.rs"
55
authors.workspace = true
66
edition.workspace = true

runtime/shiden/src/lib.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
184184
spec_name: Cow::Borrowed("shiden"),
185185
impl_name: Cow::Borrowed("shiden"),
186186
authoring_version: 1,
187-
spec_version: 1800,
187+
spec_version: 1900,
188188
impl_version: 0,
189189
apis: RUNTIME_API_VERSIONS,
190190
transaction_version: 3,
@@ -1320,8 +1320,7 @@ parameter_types! {
13201320
}
13211321

13221322
/// Unreleased migrations. Add new ones here:
1323-
pub type Unreleased =
1324-
(pallet_inflation::migration::versioned_migrations::V1ToV2<Runtime, DecayRate, DecayFactor>,);
1323+
pub type Unreleased = ();
13251324

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

0 commit comments

Comments
 (0)