mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 08:11:03 +00:00
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: Roman Gafiyatullin <rg@rgmbp-16-m1.lan>
Co-authored-by: parity-processbot <>
This commit is contained in:
committed by
GitHub
parent
48fb8bfb4e
commit
d9f6c206a9
Generated
+173
-173
File diff suppressed because it is too large
Load Diff
@@ -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"])
|
||||
|
||||
Reference in New Issue
Block a user