mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 10:31:03 +00:00
Backport fix (for wasm std env) (#2339)
* Backport fix (for wasm `std` env) * Cargo.lock * Polkadot/Westend * Cargo.lock
This commit is contained in:
committed by
Bastian Köcher
parent
bccd6e893e
commit
8ebef157a9
@@ -29,7 +29,7 @@ use frame_support::{
|
|||||||
sp_runtime::{MultiAddress, MultiSigner},
|
sp_runtime::{MultiAddress, MultiSigner},
|
||||||
RuntimeDebug,
|
RuntimeDebug,
|
||||||
};
|
};
|
||||||
use sp_std::prelude::*;
|
use sp_std::prelude::Vec;
|
||||||
|
|
||||||
/// BridgeHubKusama parachain.
|
/// BridgeHubKusama parachain.
|
||||||
#[derive(RuntimeDebug)]
|
#[derive(RuntimeDebug)]
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ use bp_runtime::{
|
|||||||
decl_bridge_finality_runtime_apis, decl_bridge_messages_runtime_apis, Chain, Parachain,
|
decl_bridge_finality_runtime_apis, decl_bridge_messages_runtime_apis, Chain, Parachain,
|
||||||
};
|
};
|
||||||
use frame_support::{dispatch::DispatchClass, RuntimeDebug};
|
use frame_support::{dispatch::DispatchClass, RuntimeDebug};
|
||||||
use sp_std::prelude::*;
|
use sp_std::prelude::Vec;
|
||||||
|
|
||||||
/// BridgeHubPolkadot parachain.
|
/// BridgeHubPolkadot parachain.
|
||||||
#[derive(RuntimeDebug)]
|
#[derive(RuntimeDebug)]
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ use frame_support::{
|
|||||||
sp_runtime::{MultiAddress, MultiSigner},
|
sp_runtime::{MultiAddress, MultiSigner},
|
||||||
RuntimeDebug,
|
RuntimeDebug,
|
||||||
};
|
};
|
||||||
use sp_std::prelude::*;
|
use sp_std::prelude::Vec;
|
||||||
|
|
||||||
/// BridgeHubRococo parachain.
|
/// BridgeHubRococo parachain.
|
||||||
#[derive(RuntimeDebug)]
|
#[derive(RuntimeDebug)]
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ use bp_runtime::{
|
|||||||
decl_bridge_finality_runtime_apis, decl_bridge_messages_runtime_apis, Chain, Parachain,
|
decl_bridge_finality_runtime_apis, decl_bridge_messages_runtime_apis, Chain, Parachain,
|
||||||
};
|
};
|
||||||
use frame_support::{dispatch::DispatchClass, RuntimeDebug};
|
use frame_support::{dispatch::DispatchClass, RuntimeDebug};
|
||||||
use sp_std::prelude::*;
|
use sp_std::prelude::Vec;
|
||||||
|
|
||||||
/// BridgeHubWococo parachain.
|
/// BridgeHubWococo parachain.
|
||||||
#[derive(RuntimeDebug)]
|
#[derive(RuntimeDebug)]
|
||||||
|
|||||||
@@ -18,6 +18,7 @@ bp-runtime = { path = "../runtime", default-features = false }
|
|||||||
|
|
||||||
frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
||||||
sp-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
sp-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
||||||
|
sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["std"]
|
default = ["std"]
|
||||||
@@ -27,4 +28,5 @@ std = [
|
|||||||
"bp-runtime/std",
|
"bp-runtime/std",
|
||||||
"frame-support/std",
|
"frame-support/std",
|
||||||
"sp-api/std",
|
"sp-api/std",
|
||||||
|
"sp-std/std",
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -23,6 +23,7 @@ pub use bp_polkadot_core::*;
|
|||||||
use bp_header_chain::ChainWithGrandpa;
|
use bp_header_chain::ChainWithGrandpa;
|
||||||
use bp_runtime::{decl_bridge_finality_runtime_apis, Chain};
|
use bp_runtime::{decl_bridge_finality_runtime_apis, Chain};
|
||||||
use frame_support::weights::Weight;
|
use frame_support::weights::Weight;
|
||||||
|
use sp_std::prelude::Vec;
|
||||||
|
|
||||||
/// Kusama Chain
|
/// Kusama Chain
|
||||||
pub struct Kusama;
|
pub struct Kusama;
|
||||||
|
|||||||
@@ -18,6 +18,7 @@ bp-runtime = { path = "../runtime", default-features = false }
|
|||||||
|
|
||||||
frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
||||||
sp-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
sp-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
||||||
|
sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["std"]
|
default = ["std"]
|
||||||
@@ -27,4 +28,5 @@ std = [
|
|||||||
"bp-runtime/std",
|
"bp-runtime/std",
|
||||||
"frame-support/std",
|
"frame-support/std",
|
||||||
"sp-api/std",
|
"sp-api/std",
|
||||||
|
"sp-std/std",
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -23,6 +23,7 @@ pub use bp_polkadot_core::*;
|
|||||||
use bp_header_chain::ChainWithGrandpa;
|
use bp_header_chain::ChainWithGrandpa;
|
||||||
use bp_runtime::{decl_bridge_finality_runtime_apis, Chain};
|
use bp_runtime::{decl_bridge_finality_runtime_apis, Chain};
|
||||||
use frame_support::weights::Weight;
|
use frame_support::weights::Weight;
|
||||||
|
use sp_std::prelude::Vec;
|
||||||
|
|
||||||
/// Polkadot Chain
|
/// Polkadot Chain
|
||||||
pub struct Polkadot;
|
pub struct Polkadot;
|
||||||
|
|||||||
@@ -17,6 +17,7 @@ bp-runtime = { path = "../runtime", default-features = false }
|
|||||||
# Substrate Based Dependencies
|
# Substrate Based Dependencies
|
||||||
|
|
||||||
sp-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
sp-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
||||||
|
sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
||||||
frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
@@ -27,4 +28,5 @@ std = [
|
|||||||
"bp-runtime/std",
|
"bp-runtime/std",
|
||||||
"frame-support/std",
|
"frame-support/std",
|
||||||
"sp-api/std",
|
"sp-api/std",
|
||||||
|
"sp-std/std",
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -23,6 +23,7 @@ pub use bp_polkadot_core::*;
|
|||||||
use bp_header_chain::ChainWithGrandpa;
|
use bp_header_chain::ChainWithGrandpa;
|
||||||
use bp_runtime::{decl_bridge_finality_runtime_apis, Chain};
|
use bp_runtime::{decl_bridge_finality_runtime_apis, Chain};
|
||||||
use frame_support::{parameter_types, weights::Weight};
|
use frame_support::{parameter_types, weights::Weight};
|
||||||
|
use sp_std::prelude::Vec;
|
||||||
|
|
||||||
/// Rococo Chain
|
/// Rococo Chain
|
||||||
pub struct Rococo;
|
pub struct Rococo;
|
||||||
|
|||||||
@@ -18,6 +18,7 @@ bp-runtime = { path = "../runtime", default-features = false }
|
|||||||
|
|
||||||
frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
||||||
sp-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
sp-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
||||||
|
sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["std"]
|
default = ["std"]
|
||||||
@@ -27,4 +28,5 @@ std = [
|
|||||||
"bp-runtime/std",
|
"bp-runtime/std",
|
||||||
"frame-support/std",
|
"frame-support/std",
|
||||||
"sp-api/std",
|
"sp-api/std",
|
||||||
|
"sp-std/std",
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -24,6 +24,7 @@ use frame_support::sp_std::prelude::*;
|
|||||||
use bp_header_chain::ChainWithGrandpa;
|
use bp_header_chain::ChainWithGrandpa;
|
||||||
use bp_runtime::{decl_bridge_finality_runtime_apis, Chain, Parachain};
|
use bp_runtime::{decl_bridge_finality_runtime_apis, Chain, Parachain};
|
||||||
use frame_support::weights::Weight;
|
use frame_support::weights::Weight;
|
||||||
|
use sp_std::prelude::Vec;
|
||||||
|
|
||||||
/// Westend Chain
|
/// Westend Chain
|
||||||
pub struct Westend;
|
pub struct Westend;
|
||||||
|
|||||||
@@ -19,6 +19,7 @@ bp-rococo = { path = "../chain-rococo", default-features = false }
|
|||||||
|
|
||||||
frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
||||||
sp-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
sp-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
||||||
|
sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["std"]
|
default = ["std"]
|
||||||
@@ -29,4 +30,5 @@ std = [
|
|||||||
"bp-rococo/std",
|
"bp-rococo/std",
|
||||||
"frame-support/std",
|
"frame-support/std",
|
||||||
"sp-api/std",
|
"sp-api/std",
|
||||||
|
"sp-std/std",
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -26,6 +26,7 @@ pub use bp_rococo::{
|
|||||||
use bp_header_chain::ChainWithGrandpa;
|
use bp_header_chain::ChainWithGrandpa;
|
||||||
use bp_runtime::{decl_bridge_finality_runtime_apis, Chain};
|
use bp_runtime::{decl_bridge_finality_runtime_apis, Chain};
|
||||||
use frame_support::weights::Weight;
|
use frame_support::weights::Weight;
|
||||||
|
use sp_std::prelude::Vec;
|
||||||
|
|
||||||
/// Wococo Chain
|
/// Wococo Chain
|
||||||
pub struct Wococo;
|
pub struct Wococo;
|
||||||
|
|||||||
Reference in New Issue
Block a user