We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1526f89 commit c66f782Copy full SHA for c66f782
pallets/subtensor/src/tests/voting_power.rs
@@ -271,7 +271,7 @@ fn test_set_voting_power_ema_alpha() {
271
272
// Get default alpha
273
let default_alpha = SubtensorModule::get_voting_power_ema_alpha(f.netuid);
274
- assert_eq!(default_alpha, 100_000_000_000_000_000); // 0.1 * 10^18
+ assert_eq!(default_alpha, 3_570_000_000_000_000); // 0.00357 * 10^18 = 2 weeks e-folding
275
276
// Set new alpha (only root can do this)
277
let new_alpha: u64 = 500_000_000_000_000_000; // 0.5 * 10^18
0 commit comments