mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-02 17:01:07 +00:00
Add archive RPCs to subxt-rpcs (#1940)
* Add archive RPCs to subxt-rpcs * Add tests for archive RPCs * ".unwrap_*" to ".as_*" * clippy * Add proper unsub method for archive_unstable_storage
This commit is contained in:
1 parent
e59eef21b4
commit
23c0651c57
5 files changed
+511
-11
No files matched your search
@@ -130,7 +130,10 @@ impl SubstrateNodeBuilder {
|
||||
.stdout(process::Stdio::piped())
|
||||
.stderr(process::Stdio::piped())
|
||||
.arg("--dev")
|
||||
.arg("--port=0");
|
||||
.arg("--port=0")
|
||||
// To test archive_* RPC-v2 methods we need the node in archive mode:
|
||||
.arg("--blocks-pruning=archive-canonical")
|
||||
.arg("--state-pruning=archive-canonical");
|
||||
|
||||
for (key, val) in custom_flags {
|
||||
let arg = match val {
|
||||
|
||||
Reference in new issue
Block a user