@@ -2262,7 +2262,7 @@ fn force_with_incorrect_origin_fails() {
2262
2262
}
2263
2263
2264
2264
#[ test]
2265
- fn get_dapp_tier_assignment_basic_example_works ( ) {
2265
+ fn get_dapp_tier_assignment_and_rewards_basic_example_works ( ) {
2266
2266
ExtBuilder :: build ( ) . execute_with ( || {
2267
2267
// This test will rely on the configuration inside the mock file.
2268
2268
// If that changes, this test will have to be updated as well.
@@ -2339,7 +2339,7 @@ fn get_dapp_tier_assignment_basic_example_works() {
2339
2339
// Finally, the actual test
2340
2340
let protocol_state = ActiveProtocolState :: < Test > :: get ( ) ;
2341
2341
let dapp_reward_pool = 1000000 ;
2342
- let ( tier_assignment, counter) = DappStaking :: get_dapp_tier_assignment (
2342
+ let ( tier_assignment, counter) = DappStaking :: get_dapp_tier_assignment_and_rewards (
2343
2343
protocol_state. era + 1 ,
2344
2344
protocol_state. period_number ( ) ,
2345
2345
dapp_reward_pool,
@@ -2393,7 +2393,7 @@ fn get_dapp_tier_assignment_basic_example_works() {
2393
2393
}
2394
2394
2395
2395
#[ test]
2396
- fn get_dapp_tier_assignment_zero_slots_per_tier_works ( ) {
2396
+ fn get_dapp_tier_assignment_and_rewards_zero_slots_per_tier_works ( ) {
2397
2397
ExtBuilder :: build ( ) . execute_with ( || {
2398
2398
// This test will rely on the configuration inside the mock file.
2399
2399
// If that changes, this test might have to be updated as well.
@@ -2408,7 +2408,7 @@ fn get_dapp_tier_assignment_zero_slots_per_tier_works() {
2408
2408
// Calculate tier assignment (we don't need dApps for this test)
2409
2409
let protocol_state = ActiveProtocolState :: < Test > :: get ( ) ;
2410
2410
let dapp_reward_pool = 1000000 ;
2411
- let ( tier_assignment, counter) = DappStaking :: get_dapp_tier_assignment (
2411
+ let ( tier_assignment, counter) = DappStaking :: get_dapp_tier_assignment_and_rewards (
2412
2412
protocol_state. era ,
2413
2413
protocol_state. period_number ( ) ,
2414
2414
dapp_reward_pool,
0 commit comments