Documentation ¶
Index ¶
- type MockActorStateAPI
- func (m *MockActorStateAPI) Actor(ctx context.Context, addr address.Address, tsk types.TipSetKey) (*types.Actor, error)
- func (m *MockActorStateAPI) ActorState(ctx context.Context, addr address.Address, ts *types.TipSet) (*api.ActorState, error)
- func (m *MockActorStateAPI) DiffPreCommits(ctx context.Context, _ address.Address, ts, pts *types.TipSet, ...) (*miner.PreCommitChanges, error)
- func (m *MockActorStateAPI) DiffPreCommitsV8(ctx context.Context, _ address.Address, ts, pts *types.TipSet, ...) (*miner.PreCommitChangesV8, error)
- func (m *MockActorStateAPI) DiffSectors(ctx context.Context, addr address.Address, ts, pts *types.TipSet, ...) (*miner.SectorChanges, error)
- func (m *MockActorStateAPI) GetSectorAddedFromEvent(_ context.Context, _ types.TipSetKey) (map[uint64]bool, error)
- func (m *MockActorStateAPI) LookupRobustAddress(_ context.Context, _ address.Address, _ types.TipSetKey) (address.Address, error)
- func (m *MockActorStateAPI) MinerLoad(store adt.Store, act *types.Actor) (miner.State, error)
- func (m *MockActorStateAPI) MinerPower(ctx context.Context, addr address.Address, ts *types.TipSet) (*api.MinerPower, error)
- func (m *MockActorStateAPI) Store() adt.Store
- func (m *MockActorStateAPI) TipSetMessageReceipts(ctx context.Context, ts, pts *types.TipSet) ([]*lens.BlockMessageReceipts, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockActorStateAPI ¶
func (*MockActorStateAPI) ActorState ¶
func (m *MockActorStateAPI) ActorState(ctx context.Context, addr address.Address, ts *types.TipSet) (*api.ActorState, error)
func (*MockActorStateAPI) DiffPreCommits ¶
func (m *MockActorStateAPI) DiffPreCommits(ctx context.Context, _ address.Address, ts, pts *types.TipSet, pre, cur miner.State) (*miner.PreCommitChanges, error)
func (*MockActorStateAPI) DiffPreCommitsV8 ¶ added in v0.13.0
func (m *MockActorStateAPI) DiffPreCommitsV8(ctx context.Context, _ address.Address, ts, pts *types.TipSet, pre, cur miner.State) (*miner.PreCommitChangesV8, error)
func (*MockActorStateAPI) DiffSectors ¶
func (m *MockActorStateAPI) DiffSectors(ctx context.Context, addr address.Address, ts, pts *types.TipSet, pre, cur miner.State) (*miner.SectorChanges, error)
func (*MockActorStateAPI) GetSectorAddedFromEvent ¶ added in v0.19.0
func (*MockActorStateAPI) LookupRobustAddress ¶ added in v0.17.2
func (*MockActorStateAPI) MinerPower ¶
func (m *MockActorStateAPI) MinerPower(ctx context.Context, addr address.Address, ts *types.TipSet) (*api.MinerPower, error)
func (*MockActorStateAPI) Store ¶
func (m *MockActorStateAPI) Store() adt.Store
func (*MockActorStateAPI) TipSetMessageReceipts ¶ added in v0.12.0
func (m *MockActorStateAPI) TipSetMessageReceipts(ctx context.Context, ts, pts *types.TipSet) ([]*lens.BlockMessageReceipts, error)
Click to show internal directories.
Click to hide internal directories.