mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 15:47:58 +00:00
Restructure frame_support macro related exports (#14745)
* make reexports private * make reexports private 2 * make reexports private for runtime-benchmarking * make reexports private for try-runtime * fix for try-runtime * make reexports private for tests * fmt * make reexports private for tests * make reexports private for experimental * fix beefy * fix ui test * fix ui test * fix benches * ".git/.scripts/commands/fmt/fmt.sh" * fix contracts use * wip * wip * do not reexport sp_api::metadata_ir * fix CI checks * fix support tests * ".git/.scripts/commands/fmt/fmt.sh" * Update frame/support/src/lib.rs Co-authored-by: Bastian Köcher <git@kchr.de> * import codec directly * fmt * fix node-cli tests --------- Co-authored-by: command-bot <> Co-authored-by: Bastian Köcher <git@kchr.de>
This commit is contained in:
@@ -1378,7 +1378,7 @@ fn migrate_from_pallet_version_to_storage_version() {
|
||||
#[test]
|
||||
fn metadata() {
|
||||
use codec::Decode;
|
||||
use frame_support::metadata::{v15::*, *};
|
||||
use frame_metadata::{v15::*, *};
|
||||
|
||||
fn maybe_docs(doc: Vec<&'static str>) -> Vec<&'static str> {
|
||||
if cfg!(feature = "no-metadata-docs") {
|
||||
@@ -1860,7 +1860,7 @@ fn metadata() {
|
||||
|
||||
#[test]
|
||||
fn metadata_at_version() {
|
||||
use frame_support::metadata::*;
|
||||
use frame_metadata::*;
|
||||
use sp_core::Decode;
|
||||
|
||||
// Metadata always returns the V14.3
|
||||
|
||||
Reference in New Issue
Block a user