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, addr address.Address, ts, pts *types.TipSet, ...) (*miner.PreCommitChanges, error)
- func (m *MockActorStateAPI) DiffSectors(ctx context.Context, addr address.Address, ts, pts *types.TipSet, ...) (*miner.SectorChanges, 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, addr address.Address, ts, pts *types.TipSet, pre, cur miner.State) (*miner.PreCommitChanges, 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) 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.