Remove all (non-dev) client references from frame, activate dependency enforcer (#4184)

* Move transaction pool to primitives

* move backend, errors into primitives

* remove unused client depencies

* Move rpc-api into primitives

* Move peerset back to client

* Move rpc/api back to client, move palette/support/rpc into utils

* move support-rpc into subfolder

* move system-rpc into utils

* move transaction-pool  and -graph back into client

* fix broken imports

* Clean up test primitives

* Make support test utils independent of frame

* remove unnecessary node dependencies from service

* Reactivate dependency script:
 - only enforce the now achieved status quo will remain
 - allow for primitives to depend on /client for now without failing
 - more discriptive error message so people understand, what it wants
 - minor fix to differentiative between ../client and /client (which may be a subfolder)
 - don't allow this to fail anylonger.

* fix doc comment

* 'Should not' rather than 'must not'.

* Revert unwanted dependency changes

* fix faulty import

* fixup derive_more version

* fix wrong import path
This commit is contained in:
Benjamin Kampmann
2019-11-26 21:38:28 +01:00
committed by GitHub
parent b2aab98e69
commit bd652793db
130 changed files with 836 additions and 816 deletions
+1 -1
View File
@@ -15,7 +15,6 @@ externalities = { package = "substrate-externalities", path = "../primitives/ext
fnv = { version = "1.0.6" }
futures = { version = "0.3.1", features = ["compat"] }
hash-db = { version = "0.15.2" }
header-metadata = { package = "substrate-header-metadata", path = "header-metadata" }
hex-literal = { version = "0.2.1" }
inherents = { package = "substrate-inherents", path = "../primitives/inherents" }
keyring = { package = "substrate-keyring", path = "../primitives/keyring" }
@@ -27,6 +26,7 @@ rstd = { package = "sr-std", path = "../primitives/sr-std" }
runtime-version = { package = "sr-version", path = "../primitives/sr-version" }
sr-api = { path = "../primitives/sr-api" }
sr-primitives = { path = "../primitives/sr-primitives" }
sp-blockchain = { path = "../primitives/blockchain" }
state-machine = { package = "substrate-state-machine", path = "../primitives/state-machine" }
substrate-telemetry = { path = "telemetry" }
trie = { package = "substrate-trie", path = "../primitives/trie" }