Skip to content

Commit

Permalink
chore: bump to 1.8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
saiintbrisson committed Jul 24, 2024
1 parent 3663c43 commit ae2b978
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 15 deletions.
6 changes: 3 additions & 3 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion pallets/subnet_emission/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pallet-subnet-emission"
version = "1.0.0"
version = "1.0.1"
description = "FRAME pallet for runtime logic of Subspace Blockchain."
authors = ["Commune Community"]
homepage = "https://commune.com"
Expand Down
2 changes: 1 addition & 1 deletion pallets/subnet_emission/src/migrations.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use pallet_subnet_emission_api::SubnetConsensus;
use pallet_subspace::{Pallet as PalletSubspace, Vec};

#[derive(Default)]
pub struct InitialMigration<T>(PhantomData<T>);
struct InitialMigration<T>(PhantomData<T>);

impl<T: Config + pallet_subspace::Config> OnRuntimeUpgrade for InitialMigration<T> {
fn on_runtime_upgrade() -> frame_support::weights::Weight {
Expand Down
2 changes: 1 addition & 1 deletion pallets/subspace/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pallet-subspace"
version = "1.8.0"
version = "1.8.1"
description = "FRAME pallet for runtime logic of Subspace Blockchain."
authors = ["Commune Community"]
homepage = "https://commune.com"
Expand Down
2 changes: 1 addition & 1 deletion runtime/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "node-subspace-runtime"
version = "1.8.0"
version = "1.8.1"
description = "A Substrate node for commune-ai"
authors = ["Commune Community"]
homepage = "https://substrate.io/"
Expand Down
11 changes: 3 additions & 8 deletions runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -111,13 +111,8 @@ pub mod opaque {
}
}

pub type Migrations = (
// ! Make sure that this migration in Subspace pallet runs first everytime
pallet_subspace::migrations::v12::MigrateToV12<Runtime>,
// Initialize the new pallet
pallet_subnet_emission::migrations::InitialMigration<Runtime>,
pallet_governance::migrations::MigrationV1<Runtime>,
);
pub type Migrations = ();

// To learn more about runtime versioning, see:
// https://docs.substrate.io/main-docs/build/upgrade#runtime-versioning
#[sp_version::runtime_version]
Expand All @@ -130,7 +125,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
// `spec_version`, and `authoring_version` are the same between Wasm and native.
// This value is set to 100 to notify Polkadot-JS App (https://polkadot.js.org/apps) to use
// the compatible custom types.
spec_version: 118,
spec_version: 119,
impl_version: 1,
apis: RUNTIME_API_VERSIONS,
transaction_version: 1,
Expand Down

0 comments on commit ae2b978

Please sign in to comment.