@@ -79,8 +79,8 @@ pub fn setup() -> MockRuntime {
79
79
] ) ;
80
80
81
81
let mut rt = MockRuntime {
82
- receiver : * STORAGE_MARKET_ACTOR_ADDR ,
83
- caller : * SYSTEM_ACTOR_ADDR ,
82
+ receiver : STORAGE_MARKET_ACTOR_ADDR ,
83
+ caller : SYSTEM_ACTOR_ADDR ,
84
84
caller_type : * INIT_ACTOR_CODE_ID ,
85
85
actor_code_cids,
86
86
balance : RefCell :: new ( TokenAmount :: from_whole ( 10 ) ) ,
@@ -107,7 +107,7 @@ pub fn check_state_with_expected(rt: &MockRuntime, expected_patterns: &[Regex])
107
107
acc. assert_expected ( expected_patterns) ;
108
108
}
109
109
pub fn construct_and_verify ( rt : & mut MockRuntime ) {
110
- rt. expect_validate_caller_addr ( vec ! [ * SYSTEM_ACTOR_ADDR ] ) ;
110
+ rt. expect_validate_caller_addr ( vec ! [ SYSTEM_ACTOR_ADDR ] ) ;
111
111
assert_eq ! (
112
112
RawBytes :: default ( ) ,
113
113
rt. call:: <MarketActor >( METHOD_CONSTRUCTOR , & RawBytes :: default ( ) ) . unwrap( )
@@ -362,7 +362,7 @@ pub fn cron_tick_and_assert_balances(
362
362
let mut payment_end = d. end_epoch ;
363
363
if s. slash_epoch != EPOCH_UNDEFINED {
364
364
rt. expect_send (
365
- * BURNT_FUNDS_ACTOR_ADDR ,
365
+ BURNT_FUNDS_ACTOR_ADDR ,
366
366
METHOD_SEND ,
367
367
RawBytes :: default ( ) ,
368
368
d. provider_collateral . clone ( ) ,
@@ -477,7 +477,7 @@ pub fn publish_deals(
477
477
. unwrap ( ) ;
478
478
479
479
rt. expect_send (
480
- * VERIFIED_REGISTRY_ACTOR_ADDR ,
480
+ VERIFIED_REGISTRY_ACTOR_ADDR ,
481
481
ext:: verifreg:: USE_BYTES_METHOD as u64 ,
482
482
param,
483
483
TokenAmount :: zero ( ) ,
@@ -568,8 +568,8 @@ pub fn cron_tick(rt: &mut MockRuntime) {
568
568
}
569
569
570
570
pub fn cron_tick_raw ( rt : & mut MockRuntime ) -> Result < RawBytes , ActorError > {
571
- rt. expect_validate_caller_addr ( vec ! [ * CRON_ACTOR_ADDR ] ) ;
572
- rt. set_caller ( * CRON_ACTOR_CODE_ID , * CRON_ACTOR_ADDR ) ;
571
+ rt. expect_validate_caller_addr ( vec ! [ CRON_ACTOR_ADDR ] ) ;
572
+ rt. set_caller ( * CRON_ACTOR_CODE_ID , CRON_ACTOR_ADDR ) ;
573
573
574
574
rt. call :: < MarketActor > ( Method :: CronTick as u64 , & RawBytes :: default ( ) )
575
575
}
@@ -592,15 +592,15 @@ pub fn expect_query_network_info(rt: &mut MockRuntime) {
592
592
this_epoch_reward_smoothed : epoch_reward_smooth,
593
593
} ;
594
594
rt. expect_send (
595
- * REWARD_ACTOR_ADDR ,
595
+ REWARD_ACTOR_ADDR ,
596
596
RewardMethod :: ThisEpochReward as u64 ,
597
597
RawBytes :: default ( ) ,
598
598
TokenAmount :: zero ( ) ,
599
599
RawBytes :: serialize ( current_reward) . unwrap ( ) ,
600
600
ExitCode :: OK ,
601
601
) ;
602
602
rt. expect_send (
603
- * STORAGE_POWER_ACTOR_ADDR ,
603
+ STORAGE_POWER_ACTOR_ADDR ,
604
604
PowerMethod :: CurrentTotalPower as u64 ,
605
605
RawBytes :: default ( ) ,
606
606
TokenAmount :: zero ( ) ,
0 commit comments