Skip to content

Commit

Permalink
Merge pull request #39 from edgeware-network/karenization
Browse files Browse the repository at this point in the history
Attempt to fix another edge case found by KDPNETSTAKE.
  • Loading branch information
ShankarWarang committed Oct 27, 2022
2 parents d5d1430 + 5cb66c1 commit 04d2a67
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions node/runtime/src/lib.rs
Expand Up @@ -141,11 +141,11 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
// and set impl_version to equal spec_version. If only runtime
// implementation changes and behavior does not, then leave spec_version as
// is and increment impl_version.
spec_version: 52,
impl_version: 52,
spec_version: 53,
impl_version: 53,
apis: RUNTIME_API_VERSIONS,
transaction_version: 2,
state_version: 52,
state_version: 53,
};

#[cfg(feature = "beresheet-runtime")]
Expand All @@ -157,11 +157,11 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
// and set impl_version to equal spec_version. If only runtime
// implementation changes and behavior does not, then leave spec_version as
// is and increment impl_version.
spec_version: 10052,
impl_version: 10052,
spec_version: 10053,
impl_version: 10053,
apis: RUNTIME_API_VERSIONS,
transaction_version: 2,
state_version: 52,
state_version: 53,
};

/// Native version.
Expand Down Expand Up @@ -728,10 +728,7 @@ impl pallet_election_provider_multi_phase::Config for Runtime {
type RewardHandler = (); // nothing to do upon rewards
type DataProvider = Staking;
type Solution = NposSolution16;
#[cfg(feature = "fast-runtime")]
type Fallback = onchain::UnboundedExecution<OnChainSeqPhragmen>;
#[cfg(not(feature = "fast-runtime"))]
type Fallback = pallet_election_provider_multi_phase::NoFallback<Self>;
type Fallback = onchain::BoundedExecution<OnChainSeqPhragmen>;
type GovernanceFallback = onchain::BoundedExecution<OnChainSeqPhragmen>;
type Solver = SequentialPhragmen<AccountId, SolutionAccuracyOf<Self>, OffchainRandomBalancing>;
type ForceOrigin = EnsureRootOrHalfCouncil;
Expand Down

0 comments on commit 04d2a67

Please sign in to comment.