Skip to content

Commit 02d33b6

Browse files
committed
fix: fmt
1 parent c57624f commit 02d33b6

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

pallets/subtensor/src/tests/coinbase.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ fn test_coinbase_alpha_issuance_with_cap_trigger() {
428428
SubnetAlphaIn::<Test>::insert(netuid1, AlphaCurrency::from(initial_alpha)); // Make price extremely low.
429429
SubnetTAO::<Test>::insert(netuid2, TaoCurrency::from(initial));
430430
SubnetAlphaIn::<Test>::insert(netuid2, AlphaCurrency::from(initial_alpha)); // Make price extremely low.
431-
// Set subnet prices.
431+
// Set subnet prices.
432432
SubnetMovingPrice::<Test>::insert(netuid1, I96F32::from_num(1));
433433
SubnetMovingPrice::<Test>::insert(netuid2, I96F32::from_num(2));
434434
// Run coinbase
@@ -956,8 +956,8 @@ fn test_drain_base_with_subnet_with_two_stakers_registered_and_root_different_am
956956

957957
// SKIP_WASM_BUILD=1 RUST_LOG=debug cargo test --package pallet-subtensor --lib -- tests::coinbase::test_drain_base_with_subnet_with_two_stakers_registered_and_root_different_amounts_half_tao_weight --exact --show-output --nocapture
958958
#[test]
959-
fn test_drain_base_with_subnet_with_two_stakers_registered_and_root_different_amounts_half_tao_weight(
960-
) {
959+
fn test_drain_base_with_subnet_with_two_stakers_registered_and_root_different_amounts_half_tao_weight()
960+
{
961961
new_test_ext(1).execute_with(|| {
962962
let netuid = NetUid::from(1);
963963
add_network(netuid, 1, 0);
@@ -1241,7 +1241,7 @@ fn test_get_root_children_drain() {
12411241
SubtensorModule::set_ck_burn(0);
12421242
// Set TAO weight to 1.
12431243
SubtensorModule::set_tao_weight(u64::MAX); // Set TAO weight to 1.
1244-
// Create keys.
1244+
// Create keys.
12451245
let cold_alice = U256::from(0);
12461246
let cold_bob = U256::from(1);
12471247
let alice = U256::from(2);
@@ -1403,7 +1403,7 @@ fn test_get_root_children_drain_half_proportion() {
14031403
SubtensorModule::set_ck_burn(0);
14041404
// Set TAO weight to 1.
14051405
SubtensorModule::set_tao_weight(u64::MAX); // Set TAO weight to 1.
1406-
// Create keys.
1406+
// Create keys.
14071407
let cold_alice = U256::from(0);
14081408
let cold_bob = U256::from(1);
14091409
let alice = U256::from(2);
@@ -1491,7 +1491,7 @@ fn test_get_root_children_drain_with_take() {
14911491
add_network(alpha, 1, 0);
14921492
// Set TAO weight to 1.
14931493
SubtensorModule::set_tao_weight(u64::MAX); // Set TAO weight to 1.
1494-
// Create keys.
1494+
// Create keys.
14951495
let cold_alice = U256::from(0);
14961496
let cold_bob = U256::from(1);
14971497
let alice = U256::from(2);

0 commit comments

Comments
 (0)