Skip to content

Commit

Permalink
check-each-crate: Do not reference crate to check by name (paritytech…
Browse files Browse the repository at this point in the history
…#2098)

This pull request changes how `check-each-crate.py` is working. Instead
of passing the name of the crate via `-p`, we now jump into the
directory of the crate and call there `cargo check`. This should fix
issues like paritytech#2013 where
a crate is present twice in the `Cargo.lock`.

Besides that it also changes `core/Cargo.toml` to not always pull in
bandersnatch.
  • Loading branch information
bkchr authored Oct 31, 2023
1 parent 90c3334 commit 8abaa28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion substrate/primitives/core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ bench = false
default = [ "std" ]
std = [
"array-bytes",
"bandersnatch_vrfs/getrandom",
"bandersnatch_vrfs?/getrandom",
"bip39/rand",
"bip39/std",
"blake2/std",
Expand Down

0 comments on commit 8abaa28

Please sign in to comment.