Cargo workflow (#21)

This commit is contained in:
Özgün Özerk
2023-11-27 20:34:03 +03:00
committed by GitHub
parent 4124261b33
commit 57f9353fd0
8 changed files with 102 additions and 8 deletions
+2 -3
View File
@@ -193,12 +193,11 @@ pub fn run() -> Result<()> {
}),
#[cfg(not(feature = "runtime-benchmarks"))]
BenchmarkCmd::Storage(_) =>
return Err(sc_cli::Error::Input(
Err(sc_cli::Error::Input(
"Compile with --features=runtime-benchmarks \
to enable storage benchmarks."
.into(),
)
.into()),
)),
#[cfg(feature = "runtime-benchmarks")]
BenchmarkCmd::Storage(cmd) => runner.sync_run(|config| {
let partials = new_partial(&config)?;