I want to rename one of our
collective pallet instances to be visible in the PolkaddotJs App.
I think the best option would be to migrate raw data.
I assume that all pallet data has the same trie path prefix.
So I can do a copy of all keys with this prefix.
Will this approach work?
Rename could be a common operation. Could anybody refer relevant examples?
Another alternative is to have two pallets instances running, filter out calls to old pallet. Migrate each storage using typed interface. I think this approach is overkill. I need actually do this for 2 pallets.