Skip to content

Commit 3714e3c

Browse files
authored
Correct the benchmarking dependencies of the runtime (#448)
1 parent 3e2f49b commit 3714e3c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

crates/humanode-runtime/Cargo.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ frame-system-benchmarking = { default-features = false, optional = true, git = "
4747
frame-system-rpc-runtime-api = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "master" }
4848
frame-try-runtime = { default-features = false, optional = true, git = "https://github.com/humanode-network/substrate", branch = "master" }
4949
hex-literal = { version = "0.3", optional = true }
50-
libsecp256k1 = { version = "0.7.0", default-features = false }
50+
libsecp256k1 = { version = "0.7.0", features = ["hmac", "static-context"], optional = true }
5151
pallet-authorship = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "master" }
5252
pallet-babe = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "master" }
5353
pallet-balances = { default-features = false, git = "https://github.com/humanode-network/substrate", branch = "master" }
@@ -107,8 +107,7 @@ runtime-benchmarks = [
107107
"pallet-token-claims/runtime-benchmarks",
108108
"pallet-vesting/runtime-benchmarks",
109109
"sp-runtime/runtime-benchmarks",
110-
"libsecp256k1/hmac",
111-
"libsecp256k1/static-context",
110+
"libsecp256k1",
112111
]
113112
std = [
114113
"author-ext-api/std",

0 commit comments

Comments
 (0)