make remote ext use batch ws-client (#8916)

* make remote ext use batch ws-client

* Add debug log for key length

* better assertions

* new sanity_checl

* try and make it work with batch

* update test

* remove exctra uri

* add missing at

* remove unused rpc stuff

* improve

Co-authored-by: emostov <32168567+emostov@users.noreply.github.com>
This commit is contained in:
Kian Paimani
2021-05-29 06:20:25 +02:00
committed by GitHub
parent 1888e56abc
commit b3fabde4e3
4 changed files with 112 additions and 29 deletions
@@ -16,17 +16,21 @@ targets = ["x86_64-unknown-linux-gnu"]
jsonrpsee-ws-client = { version = "=0.2.0-alpha.6", default-features = false }
jsonrpsee-proc-macros = "=0.2.0-alpha.6"
hex-literal = "0.3.1"
hex = "0.4.0"
env_logger = "0.8.2"
log = "0.4.11"
codec = { package = "parity-scale-codec", version = "2.0.0" }
serde_json = "1.0"
sp-io = { version = "3.0.0", path = "../../../primitives/io" }
sp-core = { version = "3.0.0", path = "../../../primitives/core" }
sp-runtime = { version = "3.0.0", path = "../../../primitives/runtime" }
[dev-dependencies]
tokio = { version = "1.6.0", features = ["macros", "rt"] }
pallet-elections-phragmen = { path = "../../../frame/elections-phragmen", version = "4.0.0" }
frame-support = { path = "../../../frame/support", version = "3.0.0" }
[features]
remote-test = []