Skip to content
Snippets Groups Projects
Commit d9f6c206 authored by Roman Gafiyatullin's avatar Roman Gafiyatullin Committed by GitHub
Browse files

A companion PR to the https://github.com/paritytech/substrate/pull/10995 (#5446)


* Add BlockBackend::requires_full_sync() implementation

* do not specify --pruning explicitly

* update lockfile for {"substrate"}

* Please re-run the CI

* Please re-run the CI

Co-authored-by: default avatarRoman Gafiyatullin <rg@rgmbp-16-m1.lan>
Co-authored-by: parity-processbot <>
parent 48fb8bfb
Branches
No related merge requests found
This diff is collapsed.
......@@ -381,6 +381,16 @@ impl sc_client_api::BlockBackend<Block> for Client {
}
}
}
fn requires_full_sync(&self) -> bool {
with_client! {
self,
client,
{
client.requires_full_sync()
}
}
}
}
impl sc_client_api::StorageProvider<Block, crate::FullBackend> for Client {
......
......@@ -72,7 +72,6 @@ fn benchmark_block(runtime: &str, base_path: &Path, block: u32) -> Result<(), St
.args(["benchmark", "block", "--chain", &runtime])
.arg("-d")
.arg(base_path)
.args(["--pruning", "archive"])
.args(["--from", &block.to_string(), "--to", &block.to_string()])
.args(["--repeat", "1"])
.args(["--execution", "wasm", "--wasm-execution", "compiled"])
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment