Use scale-decode to help optimise event decoding (#607)

* WIP use scale-decode

* Use scale-decode for event decoding and other optimising in that area

* comment tweaks

* samll optimisation on as_event fn
This commit is contained in:
James Wilson
2022-08-10 11:59:33 +01:00
committed by GitHub
parent e48f0e3b1d
commit cb43ffe03a
4 changed files with 175 additions and 168 deletions
+2 -1
View File
@@ -22,7 +22,8 @@ integration-tests = []
bitvec = { version = "1.0.0", default-features = false, features = ["alloc"] }
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive", "full", "bit-vec"] }
scale-info = { version = "2.0.0", features = ["bit-vec"] }
scale-value = "0.4.0"
scale-value = "0.5.0"
scale-decode = "0.3.0"
futures = "0.3.13"
hex = "0.4.3"
jsonrpsee = { version = "0.15.1", features = ["async-client", "client-ws-transport"] }