Backport fix (for wasm std env) (#2339)

* Backport fix (for wasm `std` env)

* Cargo.lock

* Polkadot/Westend

* Cargo.lock
This commit is contained in:
Branislav Kontur
2023-08-10 10:44:34 +02:00
committed by Bastian Köcher
parent bccd6e893e
commit 8ebef157a9
14 changed files with 19 additions and 4 deletions
@@ -18,6 +18,7 @@ bp-runtime = { path = "../runtime", 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-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
[features]
default = ["std"]
@@ -27,4 +28,5 @@ std = [
"bp-runtime/std",
"frame-support/std",
"sp-api/std",
"sp-std/std",
]
@@ -24,6 +24,7 @@ use frame_support::sp_std::prelude::*;
use bp_header_chain::ChainWithGrandpa;
use bp_runtime::{decl_bridge_finality_runtime_apis, Chain, Parachain};
use frame_support::weights::Weight;
use sp_std::prelude::Vec;
/// Westend Chain
pub struct Westend;