Skip to content

Commit

Permalink
Merge pull request #154 from jurteam/community-migration-fix
Browse files Browse the repository at this point in the history
Community Migration Mainnet issue fix
  • Loading branch information
Alessio Treglia authored Sep 8, 2023
2 parents 95afb37 + e58cc84 commit b4ca1ec
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions node/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "jur-node"
version = "2.1.0"
version = "2.1.1"
edition = "2021"
license = "Unlicense"
publish = false
Expand Down Expand Up @@ -55,7 +55,7 @@ frame-benchmarking = { version = "4.0.0-dev", git = "https://github.com/parityte
frame-benchmarking-cli = { version = "4.0.0-dev", git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v1.0.0" }

# Local Dependencies
jur-node-runtime = { version = "2.1.0", path = "../runtime" }
jur-node-runtime = { version = "2.1.1", path = "../runtime" }
primitives = { package = 'jur-primitives', path = '../primitives' }

# CLI-specific dependencies
Expand Down
2 changes: 1 addition & 1 deletion pallets/community/src/migration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ pub mod v7 {
let current_version = Pallet::<T>::current_storage_version();
let onchain_version = Pallet::<T>::on_chain_storage_version();

if onchain_version == 6 && current_version == 7 {
if onchain_version == 0 && current_version == 7 {
let mut translated = 0u64;
Communities::<T>::translate::<
OldCommunity<
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 = "jur-node-runtime"
version = "2.1.0"
version = "2.1.1"
edition = "2021"
license = "Unlicense"
publish = false
Expand Down
2 changes: 1 addition & 1 deletion runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,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: 107,
spec_version: 108,
impl_version: 1,
apis: RUNTIME_API_VERSIONS,
transaction_version: 1,
Expand Down

0 comments on commit b4ca1ec

Please sign in to comment.