Adds a mock provider for the parachain inherent (#484)

* Bring in code from moonbeam

* move it to mock.rs

* Actually build it 🤦
This commit is contained in:
Joshy Orndorff
2021-06-23 04:37:50 -04:00
committed by GitHub
parent 9a1e8af944
commit a8c3f11c44
4 changed files with 87 additions and 0 deletions
@@ -20,6 +20,7 @@ polkadot-client = { git = "https://github.com/paritytech/polkadot", optional = t
# Cumulus dependencies
cumulus-primitives-core = { path = "../core", default-features = false }
cumulus-test-relay-sproof-builder = { path = "../../test/relay-sproof-builder", optional = true }
# Other dependencies
codec = { package = "parity-scale-codec", version = "2.0.0", default-features = false, features = [ "derive" ] }
@@ -42,4 +43,5 @@ std = [
"sc-client-api",
"sp-api",
"polkadot-client",
"cumulus-test-relay-sproof-builder"
]