Skip to content

Commit eda164e

Browse files
authored
Merge pull request #4 from PlatformNetwork/dev
fix: validator uses Subtensor.set_mechanism_weights() for CRv4
2 parents 66477bd + 3e0b1e5 commit eda164e

File tree

3 files changed

+174
-98
lines changed

3 files changed

+174
-98
lines changed

Cargo.lock

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

bins/validator-node/Cargo.toml

Lines changed: 8 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -12,45 +12,35 @@ name = "validator-node"
1212
path = "src/main.rs"
1313

1414
[dependencies]
15+
# Platform crates
1516
platform-core = { path = "../../crates/core" }
16-
platform-network = { path = "../../crates/network" }
17-
platform-consensus = { path = "../../crates/consensus" }
1817
platform-storage = { path = "../../crates/storage" }
19-
platform-challenge-runtime = { path = "../../crates/challenge-runtime" }
20-
platform-challenge-sdk = { path = "../../crates/challenge-sdk" }
21-
platform-epoch = { path = "../../crates/epoch" }
2218
platform-bittensor = { path = "../../crates/bittensor-integration" }
2319
platform-rpc = { path = "../../crates/rpc-server" }
2420
platform-subnet-manager = { path = "../../crates/subnet-manager" }
2521
challenge-orchestrator = { path = "../../crates/challenge-orchestrator" }
26-
distributed-db = { path = "../../crates/distributed-db" }
2722
secure-container-runtime = { path = "../../crates/secure-container-runtime" }
2823

29-
# Challenges are loaded dynamically from ChainState (Docker containers)
30-
# No hardcoded challenge dependencies
24+
# Bittensor (for weight submission)
25+
bittensor-rs = { workspace = true }
3126

27+
# Async runtime
3228
tokio = { workspace = true }
33-
futures = { workspace = true }
34-
async-trait = { workspace = true }
3529

30+
# Serialization
3631
serde = { workspace = true }
3732
serde_json = { workspace = true }
38-
bincode = { workspace = true }
3933

40-
# HTTP client for proxying to challenges
34+
# HTTP client for platform-server
4135
reqwest = { version = "0.12", features = ["json"] }
4236

37+
# Logging
4338
tracing = { workspace = true }
4439
tracing-subscriber = { workspace = true }
45-
sentry = { workspace = true }
46-
sentry-tracing = { workspace = true }
4740

41+
# CLI
4842
clap = { workspace = true, features = ["env"] }
4943
anyhow = { workspace = true }
5044
hex = { workspace = true }
5145
parking_lot = { workspace = true }
52-
uuid = { workspace = true }
53-
sha2 = { workspace = true }
54-
chrono = { workspace = true }
5546
sp-core = { workspace = true }
56-
rand = { workspace = true }

0 commit comments

Comments
 (0)