Skip to content

Commit e47198f

Browse files
committed
fix: update bittensor-rs to 99b6325 (wall-clock reveal_round + correct DRAND genesis)
The reveal_round calculation was using chain's LastStoredRound as base, diverging from the reference bittensor-drand SDK which uses wall-clock time. This caused weight divergence between Rust and Python validators. Also fixes DRAND_QUICKNET_GENESIS (was wrong value) and adds 3-block security offset matching the reference implementation.
1 parent ac30f09 commit e47198f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-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.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ license = "Apache-2.0"
3737
[workspace.dependencies]
3838
# Bittensor (with CRv4 timelock encryption support and new Subtensor API)
3939
# Updated to d2ca7c2: fix epoch calculation to match subtensor formula
40-
bittensor-rs = { git = "https://github.com/CortexLM/bittensor-rs", rev = "c33a811" }
40+
bittensor-rs = { git = "https://github.com/CortexLM/bittensor-rs", rev = "99b6325" }
4141

4242
# Async runtime
4343
tokio = { version = "1.40", features = ["full", "sync", "macros", "rt-multi-thread"] }

0 commit comments

Comments
 (0)