Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
fix staking version in genesis (#9280)
Browse files Browse the repository at this point in the history
  • Loading branch information
shawntabrizi authored Jul 6, 2021
1 parent 0f5a858 commit 8c868a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frame/staking/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1212,7 +1212,7 @@ pub mod pallet {
/// True if network has been upgraded to this version.
/// Storage version of the pallet.
///
/// This is set to v6.0.0 for new networks.
/// This is set to v7.0.0 for new networks.
#[pallet::storage]
pub(crate) type StorageVersion<T: Config> = StorageValue<_, Releases, ValueQuery>;

Expand Down Expand Up @@ -1264,7 +1264,7 @@ pub mod pallet {
ForceEra::<T>::put(self.force_era);
CanceledSlashPayout::<T>::put(self.canceled_payout);
SlashRewardFraction::<T>::put(self.slash_reward_fraction);
StorageVersion::<T>::put(Releases::V6_0_0);
StorageVersion::<T>::put(Releases::V7_0_0);
MinNominatorBond::<T>::put(self.min_nominator_bond);
MinValidatorBond::<T>::put(self.min_validator_bond);

Expand Down

0 comments on commit 8c868a2

Please sign in to comment.