Commit 173979c
EchoBT
fix: use u16 salt directly in reveal_mechanism_weights
The salt was being truncated from u16 to u8 during reveal,
causing hash mismatch with the original commit.
Now reveal_mechanism_weights accepts:
- uids: &[u16] (was &[u64])
- salt: &[u16] (was &[u8])
This matches subtensor's expected format exactly.1 parent cd777d5 commit 173979c
1 file changed
+6
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
| 97 | + | |
| 98 | + | |
101 | 99 | | |
102 | 100 | | |
103 | 101 | | |
| |||
0 commit comments