mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 21:41:12 +00:00
fix staking version in genesis (#9280)
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user