Use frame-decode for core extrinsic decode logic (#1785)

* WIP using frame-decode for core extrinsic decode logic

* fmt

* Fix dependabot config

* clippy

* tidy some imports

* Fix a couple of tests

* Update to frame-decode 0.0.7

* fix docs

* Decode exts earlier to avoid doing it every iter/find step

* frame-decode to 0.1.0

* fmt

* clippy

* fix wasm example

* doc test fixes

* Fix test

* Fix a couple of subxt_core tests
This commit is contained in:
James Wilson
2024-10-01 11:21:51 +01:00
committed by GitHub
parent 72db833def
commit b5209a162e
18 changed files with 226 additions and 324 deletions
Generated
+17
View File
@@ -1748,6 +1748,21 @@ dependencies = [
"percent-encoding",
]
[[package]]
name = "frame-decode"
version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ed90459016b06a2855321469cb01fbc74208c80c06b085d1ed13162cf8bd7e1b"
dependencies = [
"frame-metadata 16.0.0",
"hex",
"parity-scale-codec",
"scale-decode",
"scale-info",
"scale-type-resolver",
"sp-crypto-hashing",
]
[[package]]
name = "frame-metadata"
version = "15.1.0"
@@ -5313,6 +5328,7 @@ dependencies = [
"bitvec",
"blake2",
"derive-where",
"frame-decode",
"frame-metadata 16.0.0",
"hashbrown 0.14.5",
"hex",
@@ -5387,6 +5403,7 @@ dependencies = [
"assert_matches",
"bitvec",
"criterion",
"frame-decode",
"frame-metadata 16.0.0",
"hashbrown 0.14.5",
"parity-scale-codec",