Skip to content

Latest commit

 

History

History
39 lines (22 loc) · 1.32 KB

upgrade_process.md

File metadata and controls

39 lines (22 loc) · 1.32 KB

Upgrading runtime

Check first

  • Create a release first, runtime binary will be uploaded to the release on github.
  • Make sure CI (build & tests) passes
  • Test migrations (if any) with the tools described in try-runtime and tools

Download the latest release from github

Download the latest release from github tfchain repository release page.

Propose a runtime upgrade using the Council

Note: this can only be done if you are a council member. See council.

Browse to the Polkadot UI and connect to the Node, select the Governance -> Council page

Select Motions on top and click Propose Motion on the right.

Now select:

  • Account (your account)
  • Threshold (Super Majority)
  • Proposal: runtimeUpgrade -> setCode (upload wasm file)

Now click Propose

example

IMPORTANT

If a type change occurred in the modified runtime pallets, all objects stored under that type will be invalidated unless a runtime storage migration is executed.

There are several ways to work around that but none are advised. More information on runtime upgrades can be found here.

Upgrade grapqhl

graphql upgrade documentation