Skip to content

Commit 2059dca

Browse files
try-runtime: dynamic storage query sizes (paritytech#13923)
* improve batch rpc error message * wip aimd storage data fetch * complete aimd function refactor * make batch_request function async * improve function name * fix load_child_remote issue * slight efficiency improvement * improve logs and variable name * remove redundant comment * improve comment * address pr comments * Update utils/frame/remote-externalities/src/lib.rs Co-authored-by: Niklas Adolfsson <[email protected]> * simplify client handling * fix type issue * fix clippy issue * try to trigger ci * try to trigger ci --------- Co-authored-by: Niklas Adolfsson <[email protected]>
1 parent dad4092 commit 2059dca

File tree

4 files changed

+323
-244
lines changed

4 files changed

+323
-244
lines changed

Cargo.lock

+34
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

utils/frame/remote-externalities/Cargo.toml

+2
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ description = "An externalities provided environment that can load itself from r
1212
targets = ["x86_64-unknown-linux-gnu"]
1313

1414
[dependencies]
15+
jsonrpsee = { version = "0.16.2", features = ["http-client"] }
1516
codec = { package = "parity-scale-codec", version = "3.2.2" }
1617
log = "0.4.17"
1718
serde = "1.0.136"
@@ -22,6 +23,7 @@ sp-runtime = { version = "7.0.0", path = "../../../primitives/runtime" }
2223
tokio = { version = "1.22.0", features = ["macros", "rt-multi-thread"] }
2324
substrate-rpc-client = { path = "../rpc/client" }
2425
futures = "0.3"
26+
async-recursion = "1.0.4"
2527

2628
[dev-dependencies]
2729
frame-support = { version = "4.0.0-dev", path = "../../../frame/support" }

0 commit comments

Comments
 (0)