Skip to content

Commit 5b6de32

Browse files
committed
cargo dney
1 parent 47d2bf7 commit 5b6de32

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

deny.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ ignore = [
7373
{ id = "RUSTSEC-2020-0168", reason = "There is no suitable replacement for mach and the mach2 crate has not been vetted." },
7474
{ id = "RUSTSEC-2024-0336", reason = "Only use of [email protected] is in futures-rustls which does not use the effected code" },
7575
{ id = "RUSTSEC-2024-0344", reason = "We are only able to remove this once parity updates its dependencies. Older versions of curve25519-dalek should get replaces with >= 4.1.3" },
76+
{ id = "RUSTSEC-2022-0093", reason = "Pending litep2p upgrade. Vulnerable code not exploitable in Frequency." },
7677
]
7778
# If this is true, then cargo deny will use the git executable to fetch advisory database.
7879
# If this is false, then it uses a built-in git library.

node/cli/src/command.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,9 @@ pub fn run() -> Result<()> {
340340
BenchmarkCmd::Pallet(cmd) =>
341341
if cfg!(feature = "runtime-benchmarks") {
342342
runner.sync_run(|config| {
343-
cmd.run_with_spec::<HashingFor<Block>, ReclaimHostFunctions>(Some(config.chain_spec))
343+
cmd.run_with_spec::<HashingFor<Block>, ReclaimHostFunctions>(Some(
344+
config.chain_spec,
345+
))
344346
})
345347
} else {
346348
return Err("Benchmarking wasn't enabled when building the node. \

0 commit comments

Comments
 (0)