Commit 7b65b049 authored by Keith Yeung's avatar Keith Yeung Committed by GitHub
Browse files

Extend PalletInfoAccess with module_name and crate_version method (#9690)



* Record pallet indices in CallMetadata

* Resurrect PalletVersion infrastructure and rename as CrateVersion

* cargo fmt

* Add missing runtime generics to pallet struct

* Fix path to instance

* Fix test

* Fix UI test expectations

* Fix UI test expectations

* Move crate_version function to PalletInfoAccess

* Update UI test expectations

* Add crate_name method to PalletInfo

* Convert path to module name instead of exposing crate name

* cargo fmt

* Keep the double colons when constructing the module name

* Remove unused import

* Update UI test expectations

* Update frame/support/src/traits/metadata.rs

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

* Update UI test expectations

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