Explicit storage version for all pallets #1295
Labels
I11-cleaning
No mandatory issue that leave the repo more readable/organized
P2-nice-to-have
Issue is worth doing.
Q1-easy
Can be done by primarily duplicating and adapting code.
Description
So far, only
pallet-loans
has its underlying storage versioned. Other pallets do not. This is not troublesome as once we need to bump the storage version of a pallet, in case of a migration, theon_chain_storage_version
will default to0
. However, we should not fallback to implicit versioning and rather make it explicit IMO.StorageVersion
via pallet macro for all pallets instead of customStorageValue
Research/based on
Substrate
How will this affect the code base
Less "magic"
What are foreseen obstacles or hurdles to overcome?
None
The text was updated successfully, but these errors were encountered: