Skip to content

Commit 68580de

Browse files
authored
Runtime-1700 prep (#1524)
* runtime-1700 prep
1 parent 85bb686 commit 68580de

File tree

7 files changed

+10
-29
lines changed

7 files changed

+10
-29
lines changed

Cargo.lock

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

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 = "16.1.0"
3+
version = "17.0.0"
44
build = "build.rs"
55
authors.workspace = true
66
edition.workspace = true

runtime/astar/src/lib.rs

Lines changed: 2 additions & 21 deletions
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: 1601,
196+
spec_version: 1700,
197197
impl_version: 0,
198198
apis: RUNTIME_API_VERSIONS,
199199
transaction_version: 3,
@@ -1727,30 +1727,11 @@ pub type Executive = frame_executive::Executive<
17271727
pub type Migrations = (Unreleased, Permanent);
17281728

17291729
/// Unreleased migrations. Add new ones here:
1730-
pub type Unreleased = (DemocracyVersionReset<Runtime>,);
1730+
pub type Unreleased = ();
17311731

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

1735-
// Remove this after runtime-1601 is applied.
1736-
use frame_support::{
1737-
migration::clear_storage_prefix,
1738-
traits::{OnRuntimeUpgrade, StorageVersion},
1739-
};
1740-
pub struct DemocracyVersionReset<T>(PhantomData<T>);
1741-
impl<T: frame_system::Config + pallet_democracy::Config> OnRuntimeUpgrade
1742-
for DemocracyVersionReset<T>
1743-
{
1744-
fn on_runtime_upgrade() -> Weight {
1745-
StorageVersion::new(1).put::<pallet_democracy::Pallet<T>>();
1746-
1747-
let pallet_prefix: &[u8] = b"DemocracyMBM";
1748-
let _ignore = clear_storage_prefix(pallet_prefix, &[], &[], Some(1), None);
1749-
1750-
T::DbWeight::get().writes(2)
1751-
}
1752-
}
1753-
17541735
type EventRecord = frame_system::EventRecord<
17551736
<Runtime as frame_system::Config>::RuntimeEvent,
17561737
<Runtime as frame_system::Config>::Hash,

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 = "16.1.0"
3+
version = "17.0.0"
44
build = "build.rs"
55
authors.workspace = true
66
edition.workspace = true

runtime/shibuya/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
211211
spec_name: Cow::Borrowed("shibuya"),
212212
impl_name: Cow::Borrowed("shibuya"),
213213
authoring_version: 1,
214-
spec_version: 1601,
214+
spec_version: 1700,
215215
impl_version: 0,
216216
apis: RUNTIME_API_VERSIONS,
217217
transaction_version: 3,

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 = "16.1.0"
3+
version = "17.0.0"
44
build = "build.rs"
55
authors.workspace = true
66
edition.workspace = true

runtime/shiden/src/lib.rs

Lines changed: 1 addition & 1 deletion
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: 1601,
187+
spec_version: 1700,
188188
impl_version: 0,
189189
apis: RUNTIME_API_VERSIONS,
190190
transaction_version: 3,

0 commit comments

Comments
 (0)