Skip to content
Unverified Commit 529e5d9b authored by Bastian Köcher's avatar Bastian Köcher Committed by GitHub
Browse files

Implements pallet versioning (#7208)



* Start

* Make macro work

* Rename `ModuleToIndex` to `PalletRuntimeSetup`

Besides the renaming it also adds support getting the name of a pallet
as configured in the runtime.

* Rename it to `PalletInfo`

* Remove accidentally added files

* Some work

* Make everything compile

* Adds a test and fixes some bugs

* Implement ordering for `PalletVersion`

* Apply suggestions from code review

* Review feedback

* Update frame/support/src/dispatch.rs

Co-authored-by: default avatarGuillaume Thiolliere <[email protected]>

* Update frame/support/src/dispatch.rs

Co-authored-by: default avatarGuillaume Thiolliere <[email protected]>

* Fix compilation

* Fix test

* Fix doc test

Co-authored-by: default avatarAlexander Popiak <[email protected]>
Co-authored-by: default avatarGuillaume Thiolliere <[email protected]>
parent a4673586
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