Expand description
Version 5. Migration to storage version 5.
Up to version 4 a proposal was keyed by the hash of the proposed call alone. From version 5
the key is Pallet::proposal_hash, the hash of
(call, threshold). This migration re-keys every active proposal so that on-chain state
satisfies the new derivation.
Structs§
- Unchecked
Migrate ToV5 - Re-key every active proposal from
hash(call)tohash((call, threshold)).
Type Aliases§
- Migrate
ToV5 UncheckedMigrateToV5wrapped in a [VersionedMigration], so that it runs exactly once when the on-chain storage version is 4 and bumps it to 5.