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
@@ -17,6 +17,7 @@ bp-runtime = { path = "../runtime", default-features = false }
# Substrate Based Dependencies
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 }
[features]
@@ -27,4 +28,5 @@ std = [
"bp-runtime/std",
"frame-support/std",
"sp-api/std",
"sp-std/std",
]
@@ -23,6 +23,7 @@ pub use bp_polkadot_core::*;
use bp_header_chain::ChainWithGrandpa;
use bp_runtime::{decl_bridge_finality_runtime_apis, Chain};
use frame_support::{parameter_types, weights::Weight};
use sp_std::prelude::Vec;
/// Rococo Chain
pub struct Rococo;