fix staking version in genesis (#9280)

This commit is contained in:
Shawn Tabrizi
2021-07-06 02:08:31 -04:00
committed by GitHub
parent 3127eac4d7
commit 201a41be34
+2 -2
View File
@@ -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>;
@@ -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);