Closed AurevoirXavier closed 3 years ago
Not sure why there's an invalid data.
Looks like you might have made a breaking change to your Call
enum, which is generated from the construct_runtime!
.
This means you may have removed or added a pallet in the middle of other existing pallets, changed one of your pallets to remove or add an extrinsic somewhere, and stuff like that.
To remove the storage, you need to just delete the affected storage items. There should be no problems with doing that deletion on-chain with a storage migration.
However, the better solution will be to probably migrate that data.
https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Fcrab-rpc.darwinia.network#/democracy/dispatch
Not sure why there's an invalid data.
And my question is how to remove the invalid data?
If I use remove storage directly, does it care about the type? Would this break other storage? (seems the item's size is calculate from its scale-type)