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
@@ -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 }
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"]
@@ -29,4 +30,5 @@ std = [
"bp-rococo/std",
"frame-support/std",
"sp-api/std",
"sp-std/std",
]
@@ -26,6 +26,7 @@ pub use bp_rococo::{
use bp_header_chain::ChainWithGrandpa;
use bp_runtime::{decl_bridge_finality_runtime_apis, Chain};
use frame_support::weights::Weight;
use sp_std::prelude::Vec;
/// Wococo Chain
pub struct Wococo;