Skip to content

Latest commit

 

History

History
51 lines (36 loc) · 2.1 KB

migrations.md

File metadata and controls

51 lines (36 loc) · 2.1 KB

937053 < 937052

  • Removed the previous migration of AppPromition

937052 < 937051

  • Migrate AppPromotion from using reserves to locks

936050 < 930032

pallet-collator-selection:

  • Added use of Collator Selection pallet, along with Session, Authorship, and Identity:
    • Aura authorities become Collator Selection's invulnerables
    • Session keys are put, and the first session is started

930032 < 924010

pallet-common:

  • Removed the previous migration of:
    • if the storage version is below 1, all collections from storage CollectionById of struct Collection version 1 to version 2, consisting of:
      • displacing offchain_schema, variable_on_chain_schema, const_on_chain_schema, schema_version into properties
      • displacing access, mint_mode into permissions.access, permissions.mint_mode
      • adding external_collection flag
  • Added unconditional bump of the storage version to 1
  • Replaced returned weight 0 with Weight::zero()

pallet-nonfungible:

  • Removed the previous migration of:
    • if the storage version is below 1, all items from storage TokenData of struct ItemData version 1 to version 2, consisting of:
      • displacing const_data, variable_data into properties
      • adding permission for the collection admin to set the immutable _old_constData property
  • Added unconditional bump of the storage version to 1
  • Replaced returned weight 0 with Weight::zero()

pallet-refungible:

  • Removed the previous migration of:
    • if the storage version is below 1, all items from storage TokenData of struct ItemData version 1 to version 2, consisting of:
      • removing variable_data
  • Added:
    • if the storage version is below 2, cleaning of all storage of now-redundant TokenData
    • unconditional bump of the storage version to 2
  • Replaced returned weight 0 with Weight::zero()

pallet-unique:

  • Removed the previous migration of:
    • unconditional cleaning of all storage of VariableMetaDataBasket (cache for sponsoring setting deprecated variable metadata)