We started a chain using pallet_collator_selection and later forked it.
Both the original and the forked pallet use the LastAuthoredBlock
StorageItem.
We did not execute a storage migration from the original to the forked pallet.
The storage docs state that a storage key is made up of the pallet name
and the item name
, implying that our forked pallet actually created its own storage key hash(forked_collator_selection)hash(LastAuthoredBlock)
instead of reusing hash(pallet_collator_selection)hash(LastAuthoredBlock)
, rendering the latter unused memory.
Is there a way to free the memory of the old, now unreferenced hash(pallet_collator_selection)hash(LastAuthoredBlock)
StorageItem on the live chain after the forked pallet has been deployed without migrating storage at the time?
Corollary question to: Reclaim used space of a removed StorageItem on a live chain