Skip to content

Commit

Permalink
doc: make it very clear the VersionUpdate should not be removed
Browse files Browse the repository at this point in the history
  • Loading branch information
kylezs committed Feb 14, 2024
1 parent cf33390 commit 0ea845d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions state-chain/runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -883,6 +883,8 @@ pub type PalletExecutionOrder = (
// We use the executive pallet because the `pre_upgrade` and `post_upgrade` hooks are noops
// for tuple migrations (like these).
type PalletMigrations = (
// DO NOT REMOVE `VersionUpdate`. THIS IS REQUIRED TO UPDATE THE VERSION FOR THE CFES EVERY
// UPGRADE
pallet_cf_environment::migrations::VersionUpdate<Runtime>,
pallet_cf_environment::migrations::PalletMigration<Runtime>,
pallet_cf_funding::migrations::PalletMigration<Runtime>,
Expand Down

0 comments on commit 0ea845d

Please sign in to comment.