Refactor sr-api to not depend on client anymore (#4086)

* Refactor sr-api to not depend on client anymore

* Fix benches

* Apply suggestions from code review

Co-Authored-By: Tomasz Drwięga <tomusdrw@users.noreply.github.com>

* Apply suggestions from code review
This commit is contained in:
Bastian Köcher
2019-11-11 16:26:49 +01:00
committed by Benjamin Kampmann
parent e26d1a0b3e
commit 2ecffa1cd0
140 changed files with 1514 additions and 984 deletions
+2 -1
View File
@@ -11,9 +11,10 @@ futures = { version = "0.3.0", features = ["thread-pool"] }
codec = { package = "parity-scale-codec", version = "1.0.0" }
parking_lot = "0.9.0"
sr-primitives = { path = "../sr-primitives" }
client = { package = "substrate-client", path = "../client" }
primitives = { package = "substrate-primitives", path = "../primitives" }
txpool = { package = "substrate-transaction-graph", path = "./graph" }
tx-runtime-api = { package = "substrate-transaction-pool-runtime-api", path = "runtime-api" }
sr-api = { path = "../sr-api" }
[dev-dependencies]
keyring = { package = "substrate-keyring", path = "../../core/keyring" }