How to upgrade a Rococo fork runtime

This is ofcourse valid for other runtimes, but we (Pop-Art Relay Testnet) are using a Rococo fork, which doesn’t have pallet_scheduler out the box.

Instead of running the extrinsic:

sudo > setCode(code)

We will be using:

sudo > setCodeWithoutChecks(code)

This will upgrade the runtime without checking the weight.

Use the most compressed wasm available which you will find in: .

/target/release/wbuild/rococo-runtime/rococo_runtime.compact.compressed.wasm

That should do the trick!

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store