I Just clone this https://github.com/OAK-Foundation/substrate-node-template/tree/nicks-v2 for storage migration. After launch on polkadot ,this error shows:
I'm using following commands to run:
- ./target/release/node-template --dev
- cp target/release/wbuild/node-template-runtime/node_template_runtime.wasm upgrade2.compact.wasm (upload this file in Developer > Sudo, system.setCode) For submitting Above file it shows SpecVersionNeedsToIncrease, However I increase the version many times 100 -> 101 -> 102 -> 103...
Upload types.json contain this code : { "Nickname": { "first": "Vec", "last": "Option<Vec>" }, }