@@ -85,8 +85,8 @@ pub fn setup() -> MockRuntime {
8585 ] ) ;
8686
8787 let mut rt = MockRuntime {
88- receiver : * STORAGE_MARKET_ACTOR_ADDR ,
89- caller : * SYSTEM_ACTOR_ADDR ,
88+ receiver : STORAGE_MARKET_ACTOR_ADDR ,
89+ caller : SYSTEM_ACTOR_ADDR ,
9090 caller_type : * INIT_ACTOR_CODE_ID ,
9191 actor_code_cids,
9292 balance : RefCell :: new ( TokenAmount :: from_whole ( 10 ) ) ,
@@ -114,7 +114,7 @@ pub fn check_state_with_expected(rt: &MockRuntime, expected_patterns: &[Regex])
114114}
115115
116116pub fn construct_and_verify ( rt : & mut MockRuntime ) {
117- rt. expect_validate_caller_addr ( vec ! [ * SYSTEM_ACTOR_ADDR ] ) ;
117+ rt. expect_validate_caller_addr ( vec ! [ SYSTEM_ACTOR_ADDR ] ) ;
118118 assert_eq ! (
119119 RawBytes :: default ( ) ,
120120 rt. call:: <MarketActor >( METHOD_CONSTRUCTOR , & RawBytes :: default ( ) ) . unwrap( )
@@ -371,7 +371,7 @@ pub fn cron_tick_and_assert_balances(
371371 let mut payment_end = d. end_epoch ;
372372 if s. slash_epoch != EPOCH_UNDEFINED {
373373 rt. expect_send (
374- * BURNT_FUNDS_ACTOR_ADDR ,
374+ BURNT_FUNDS_ACTOR_ADDR ,
375375 METHOD_SEND ,
376376 RawBytes :: default ( ) ,
377377 d. provider_collateral . clone ( ) ,
@@ -515,9 +515,9 @@ pub fn publish_deals(
515515 new_allocations : vec ! [ alloc_id] ,
516516 } ;
517517 rt. expect_send (
518- * DATACAP_TOKEN_ACTOR_ADDR ,
519- ext:: datacap :: TRANSFER_FROM_METHOD as u64 ,
520- serialize ( & params , "transfer from params" ) . unwrap ( ) ,
518+ VERIFIED_REGISTRY_ACTOR_ADDR ,
519+ ext:: verifreg :: USE_BYTES_METHOD as u64 ,
520+ param ,
521521 TokenAmount :: zero ( ) ,
522522 serialize (
523523 & TransferFromReturn {
@@ -628,8 +628,8 @@ pub fn cron_tick(rt: &mut MockRuntime) {
628628}
629629
630630pub fn cron_tick_raw ( rt : & mut MockRuntime ) -> Result < RawBytes , ActorError > {
631- rt. expect_validate_caller_addr ( vec ! [ * CRON_ACTOR_ADDR ] ) ;
632- rt. set_caller ( * CRON_ACTOR_CODE_ID , * CRON_ACTOR_ADDR ) ;
631+ rt. expect_validate_caller_addr ( vec ! [ CRON_ACTOR_ADDR ] ) ;
632+ rt. set_caller ( * CRON_ACTOR_CODE_ID , CRON_ACTOR_ADDR ) ;
633633
634634 rt. call :: < MarketActor > ( Method :: CronTick as u64 , & RawBytes :: default ( ) )
635635}
@@ -652,15 +652,15 @@ pub fn expect_query_network_info(rt: &mut MockRuntime) {
652652 this_epoch_reward_smoothed : epoch_reward_smooth,
653653 } ;
654654 rt. expect_send (
655- * REWARD_ACTOR_ADDR ,
655+ REWARD_ACTOR_ADDR ,
656656 RewardMethod :: ThisEpochReward as u64 ,
657657 RawBytes :: default ( ) ,
658658 TokenAmount :: zero ( ) ,
659659 RawBytes :: serialize ( current_reward) . unwrap ( ) ,
660660 ExitCode :: OK ,
661661 ) ;
662662 rt. expect_send (
663- * STORAGE_POWER_ACTOR_ADDR ,
663+ STORAGE_POWER_ACTOR_ADDR ,
664664 PowerMethod :: CurrentTotalPower as u64 ,
665665 RawBytes :: default ( ) ,
666666 TokenAmount :: zero ( ) ,
0 commit comments