From 09ba296c94b92cd20c927574faa201f31bf49ab8 Mon Sep 17 00:00:00 2001 From: teor Date: Mon, 20 Jan 2025 16:10:25 +1000 Subject: [PATCH] Mainnet: Bump storage version, and sync spec version with Taurus --- crates/pallet-domains/src/lib.rs | 2 +- crates/subspace-runtime/src/lib.rs | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/crates/pallet-domains/src/lib.rs b/crates/pallet-domains/src/lib.rs index 2d268de01f..71975409a4 100644 --- a/crates/pallet-domains/src/lib.rs +++ b/crates/pallet-domains/src/lib.rs @@ -146,7 +146,7 @@ pub type BlockTreeNodeFor = crate::block_tree::BlockTreeNode< >; /// The current storage version. -const STORAGE_VERSION: StorageVersion = StorageVersion::new(1); +const STORAGE_VERSION: StorageVersion = StorageVersion::new(3); /// The number of bundle of a particular domain to be included in the block is probabilistic /// and based on the consensus chain slot probability and domain bundle slot probability, usually diff --git a/crates/subspace-runtime/src/lib.rs b/crates/subspace-runtime/src/lib.rs index 3d0cfc9379..4812f083b2 100644 --- a/crates/subspace-runtime/src/lib.rs +++ b/crates/subspace-runtime/src/lib.rs @@ -121,7 +121,8 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: Cow::Borrowed("subspace"), impl_name: Cow::Borrowed("subspace"), authoring_version: 0, - spec_version: 2, + // TODO: before deploying the next runtime version to mainnet or taurus, bump this version + spec_version: 11, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 0,