Function frame_support::source ·
storage:: migration:: move_pallet
Move all storages from a pallet prefix to another pallet prefix.
Keys used in pallet storages always start with:
This function will remove all value for which the key start with
and insert them at the key with the start replaced by
NOTE: The value at the key
twox_128(old_pallet_name) is not moved.
If a pallet named “my_example” has some storages and the pallet is renamed “my_new_example_name”, a migration can be: