-
Notifications
You must be signed in to change notification settings - Fork 157
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(test): bump lotus version in CI tests (#4286)
- Loading branch information
1 parent
8dd64d3
commit 74e23e6
Showing
10 changed files
with
326 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
// Copyright 2019-2024 ChainSafe Systems | ||
// SPDX-License-Identifier: Apache-2.0, MIT | ||
|
||
mod state; | ||
|
||
use fil_actor_interface::miner::State; | ||
use fil_actors_shared::fvm_ipld_bitfield::BitField; | ||
use fvm_ipld_blockstore::Blockstore; | ||
|
||
use crate::rpc::types::SectorOnChainInfo; | ||
|
||
pub trait MinerStateExt { | ||
/// Loads sectors corresponding to the bitfield. If no bitfield is passed | ||
/// in, return all. | ||
fn load_sectors_ext<BS: Blockstore>( | ||
&self, | ||
store: &BS, | ||
sectors: Option<&BitField>, | ||
) -> anyhow::Result<Vec<SectorOnChainInfo>>; | ||
} |
Oops, something went wrong.