Manta-Network / Manta

The main repo for manta blockchain nodes.
GNU General Public License v3.0
240 stars 119 forks source link

Create "Checker Migrations" for invariants on runtime upgrades #463

Open Garandor opened 2 years ago

Garandor commented 2 years ago

The try-runtime feature allows to define "dry run" migrations that don't actually modify state, but can test pre- and post-runtime upgrade state for sanity, e.g.

These can be built as a compact "upgrade checker struct" and run as part of QA of every (runtime-upgrade) release, which can happen as part of a CI check when https://github.com/Manta-Network/Manta/pull/457 is merged

The process is described in https://www.crowdcast.io/e/substrate-seminar/41 around 1:15:00

ghzlatarev commented 2 years ago

Duplicate of https://github.com/Manta-Network/Manta/issues/236