Skip to content
Snippets Groups Projects
Commit 112a0e73 authored by juangirini's avatar juangirini Committed by GitHub
Browse files

Move `type Migrations` to `Config` (#14309)


* move migrate sequence to config

* remove commented out code

* Update frame/contracts/src/lib.rs

Co-authored-by: default avatarPG Herveou <pgherveou@gmail.com>

* remove Migrations generic

* make runtime use noop migrations

* restrict is_upgrade_supported

* undo is_upgrade_supported change

* Update bin/node/runtime/src/lib.rs

Co-authored-by: default avatarPG Herveou <pgherveou@gmail.com>

* add rust doc example for `Migrations`

* feature gate NoopMigration

* fix example code

* improve example

---------

Co-authored-by: default avatarPG Herveou <pgherveou@gmail.com>
parent 8d519617
Branches
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment