Skip to content

Commit 5127d4d

Browse files
authored
Merge pull request #1354 from opentensor/tlock-commitments
Upgrade Commitments Pallet
2 parents d5e97c3 + 187ed94 commit 5127d4d

File tree

7 files changed

+1919
-202
lines changed

7 files changed

+1919
-202
lines changed

Cargo.lock

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pallets/commitments/Cargo.toml

Lines changed: 28 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,18 @@ sp-runtime = { workspace = true }
2929
sp-std = { workspace = true }
3030
enumflags2 = { workspace = true }
3131

32+
pallet-drand = { path = "../drand", default-features = false }
33+
tle = { workspace = true, default-features = false }
34+
ark-serialize = { workspace = true, default-features = false }
35+
w3f-bls = { workspace = true, default-features = false }
36+
rand_chacha = { workspace = true }
37+
hex = { workspace = true }
38+
sha2 = { workspace = true }
39+
40+
log = { workspace = true }
41+
42+
pallet-subtensor = { path = "../subtensor", default-features = false }
43+
3244
[dev-dependencies]
3345
sp-core = { workspace = true }
3446
sp-io = { workspace = true }
@@ -47,18 +59,31 @@ std = [
4759
"enumflags2/std",
4860
"pallet-balances/std",
4961
"sp-core/std",
50-
"sp-io/std"
62+
"sp-io/std",
63+
"ark-serialize/std",
64+
"log/std",
65+
"pallet-drand/std",
66+
"tle/std",
67+
"w3f-bls/std",
68+
"hex/std",
69+
"rand_chacha/std",
70+
"sha2/std",
71+
"pallet-subtensor/std"
5172
]
5273
runtime-benchmarks = [
5374
"frame-benchmarking/runtime-benchmarks",
5475
"frame-support/runtime-benchmarks",
5576
"frame-system/runtime-benchmarks",
5677
"sp-runtime/runtime-benchmarks",
57-
"pallet-balances/runtime-benchmarks"
78+
"pallet-balances/runtime-benchmarks",
79+
"pallet-drand/runtime-benchmarks",
80+
"pallet-subtensor/runtime-benchmarks"
5881
]
5982
try-runtime = [
6083
"frame-support/try-runtime",
6184
"frame-system/try-runtime",
6285
"pallet-balances/try-runtime",
63-
"sp-runtime/try-runtime"
86+
"sp-runtime/try-runtime",
87+
"pallet-drand/try-runtime",
88+
"pallet-subtensor/try-runtime"
6489
]

0 commit comments

Comments
 (0)