diff --git a/crates/pallet-subspace/src/lib.rs b/crates/pallet-subspace/src/lib.rs index 5c68ababc0..b1dd52d7d4 100644 --- a/crates/pallet-subspace/src/lib.rs +++ b/crates/pallet-subspace/src/lib.rs @@ -371,8 +371,6 @@ pub mod pallet { pub enum Error { /// Solution range adjustment already enabled. SolutionRangeAdjustmentAlreadyEnabled, - /// Rewards already active. - RewardsAlreadyEnabled, /// Iterations are not multiple of number of checkpoints times two NotMultipleOfCheckpoints, /// Proof of time slot iterations must increase as hardware improves @@ -1116,10 +1114,6 @@ impl Pallet { fn do_enable_rewards_at( enable_rewards_at: EnableRewardsAt>, ) -> DispatchResult { - if EnableRewards::::get().is_some() { - return Err(Error::::RewardsAlreadyEnabled.into()); - } - match enable_rewards_at { EnableRewardsAt::Height(block_number) => { // Enable rewards at a particular block height (default to the next block after diff --git a/crates/subspace-runtime/src/lib.rs b/crates/subspace-runtime/src/lib.rs index d71743c48e..61406da07b 100644 --- a/crates/subspace-runtime/src/lib.rs +++ b/crates/subspace-runtime/src/lib.rs @@ -130,7 +130,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: Cow::Borrowed("subspace"), impl_name: Cow::Borrowed("subspace"), authoring_version: 0, - spec_version: 0, + spec_version: 1, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 0,