frame-benchmarking-cli: Remove native dispatch requirement (#14474)

* frame-benchmarking-cli: Remove native dispatch requirement

No need for this, we can just use the `WasmExecutor` directly.

* Fixes

* Pass benchmarking host functions

* Ensure we can pass custom host functions
This commit is contained in:
Bastian Köcher authored and GitHub committed 2023-06-29 17:56:25 +02:00
1 parent 0e58bd91b6
commit 83caca85b6
20 files changed
+117 -119

No files matched your search

+1 -1
View File
@@ -117,7 +117,7 @@ pub fn run() -> Result<()> {
)
}
cmd.run::<Block, ExecutorDispatch>(config)
cmd.run::<Block, sp_statement_store::runtime_api::HostFunctions>(config)
},
BenchmarkCmd::Block(cmd) => {
// ensure that we keep the task manager alive