test

package
v0.11.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2022 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, 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) ExecutedAndBlockMessages

func (m *MockActorStateAPI) ExecutedAndBlockMessages(ctx context.Context, ts, pts *types.TipSet) (*lens.TipSetMessages, 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

Jump to

Keyboard shortcuts

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