mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 08:47:57 +00:00
Don't include :code by default in storage proofs (#5060)
* Adds test to verify that the runtime currently is always contained in the proof * Start passing the runtime wasm code from the outside * Fix compilation * More build fixes * Make the test work as expected now :) * Last fixes * Fixes benchmarks * Review feedback * Apply suggestions from code review Co-Authored-By: Sergei Pepyakin <sergei@parity.io> * Review feedback * Fix compilation Co-authored-by: Sergei Pepyakin <s.pepyakin@gmail.com>
This commit is contained in:
committed by
GitHub
parent
67837c6233
commit
6ee39261c8
@@ -16,5 +16,6 @@ sc-client = { version = "0.8.0-alpha.2", path = "../../../client" }
|
||||
sc-client-db = { version = "0.8.0-alpha.2", path = "../../../client/db" }
|
||||
sc-executor = { version = "0.8.0-alpha.2", path = "../../../client/executor" }
|
||||
sp-runtime = { version = "2.0.0-alpha.2", path = "../../../primitives/runtime" }
|
||||
sp-state-machine = { version = "0.8.0-alpha.2", path = "../../../primitives/state-machine" }
|
||||
structopt = "0.3.8"
|
||||
codec = { version = "1.2.0", package = "parity-scale-codec" }
|
||||
|
||||
@@ -121,6 +121,7 @@ impl BenchmarkCmd {
|
||||
self.repeat,
|
||||
).encode(),
|
||||
Default::default(),
|
||||
&sp_state_machine::backend::get_runtime_code(&state)?,
|
||||
)
|
||||
.execute(strategy.into())
|
||||
.map_err(|e| format!("Error executing runtime benchmark: {:?}", e))?;
|
||||
|
||||
Reference in New Issue
Block a user