test

package
v0.21.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 19, 2024 License: Apache-2.0, MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockActorStateAPI

type MockActorStateAPI struct {
	mock.Mock
}

func (*MockActorStateAPI) Actor

func (m *MockActorStateAPI) Actor(ctx context.Context, addr address.Address, tsk types.TipSetKey) (*types.Actor, error)

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 (m *MockActorStateAPI) GetSectorAddedFromEvent(_ context.Context, _ types.TipSetKey) (map[uint64]bool, error)

func (*MockActorStateAPI) LookupRobustAddress added in v0.17.2

func (m *MockActorStateAPI) LookupRobustAddress(_ context.Context, _ address.Address, _ types.TipSetKey) (address.Address, error)

func (*MockActorStateAPI) MinerLoad

func (m *MockActorStateAPI) MinerLoad(store adt.Store, act *types.Actor) (miner.State, 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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL