2

I am working on Substrate-based node upgrades for solo-chain.

I stick to Polkadot releases and during the upgrade from polkadot-release-v0.8.27 to polkadot-v0.8.28 I found a storage migration. This migration has two parameters old_voter_bond and old_candidacy_bond. I don’t understand what the migration does but according to the parameters names, it looks like I should pass values of VotingBond and CandidacyBond. But in Polkadot repository this migration called with the arguments values 100 time lower.

The questions:

  1. How to choose the correct arguments values to pass into the migration?
  2. Can I switch from the hardcoded value for VotingBondFactor to deposit(X, Y) in later versions?

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.