mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 08:51:09 +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:
@@ -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