File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
pallets/subtensor/src/tests Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -598,9 +598,9 @@ fn test_migrate_rao() {
598
598
599
599
// Verify root subnet (netuid 0) state after migration
600
600
assert_eq ! ( SubnetTAO :: <Test >:: get( netuid_0) , 4 * stake_amount) ; // Root has everything
601
- assert_eq ! ( SubnetTAO :: <Test >:: get( netuid_1) , 100_000_000_000 ) ; // Initial Rao amount.
601
+ assert_eq ! ( SubnetTAO :: <Test >:: get( netuid_1) , lock_amount ) ; // Initial Rao amount.
602
602
assert_eq ! ( SubnetAlphaIn :: <Test >:: get( netuid_0) , 1 ) ; // No Alpha in pool on root.
603
- assert_eq ! ( SubnetAlphaIn :: <Test >:: get( netuid_1) , 100_000_000_000 ) ; // Initial Rao amount.
603
+ assert_eq ! ( SubnetAlphaIn :: <Test >:: get( netuid_1) , 2 * lock_amount ) ; // Initial Rao amount == num_subnets * lock_amount
604
604
assert_eq ! ( SubnetAlphaOut :: <Test >:: get( netuid_0) , 4 * stake_amount) ; // All stake is outstanding.
605
605
assert_eq ! ( SubnetAlphaOut :: <Test >:: get( netuid_1) , 0 ) ; // No stake outstanding.
606
606
You can’t perform that action at this time.
0 commit comments