pub async fn miner_load_actor_tsk(
        &self,
        address: &Address,
        tsk: &TipsetKeys,
    ) -> Result<miner::State, Error> {
        let state = self.parent_state_tsk(tsk).await?;
        let actor = state
            .get_actor(address)
            .map_err(|_| Error::Other("Failure getting actor".to_string()))?
            .ok_or_else(|| Error::Other("Could not init State Tree".to_string()))?;

        Ok(miner::State::load(self.blockstore(), &actor)?)
    }
/// get miner state given address and tipsetkeys
get miner state given address and tipsetkeys
get miner state given address and tipsetkeys
pub async fn miner_load_actor_tsk(
        &self,
        address: &Address,
        tsk: &TipsetKeys,
    ) -> Result<miner::State, Error> {
        let state = self.parent_state_tsk(tsk).await?;
        let actor = state
            .get_actor(address)
            .map_err(|_| Error::Other("Failure getting actor".to_string()))?
            .ok_or_else(|| Error::Other("Could not init State Tree".to_string()))?;
        Ok(miner::State::load(self.blockstore(), &actor)?)
    }
pub async fn miner_load_actor_tsk ( & self , address : & Address , tsk : & TipsetKeys , ) -> Result < miner :: State , Error > { let state = self . parent_state_tsk ( tsk ) . await ? ; let actor = state . get_actor ( address ) . map_err ( | _ | Error :: Other ( " " . to_string ( ) ) ) ? . ok_or_else ( | | Error :: Other ( " " . to_string ( ) ) ) ? ; Ok ( miner :: State :: load ( self . blockstore ( ) , & actor ) ? ) }
get miner state given address and tipsetkeys
get miner state given address and tipsetkeys
&self
address
&Address
tsk
&TipsetKeys