Documentation ¶
Index ¶
- func CreateDealAMT(ctx context.Context, t *testing.T, store adt.Store, ...) cid.Cid
- func CreateEmptyMarketState(t *testing.T, store adt.Store) *market.State
- func MockTipset(minerAddr address.Address, timestamp uint64) (*types.TipSet, error)
- type MockAPI
- func (m *MockAPI) ChainHasObj(ctx context.Context, c cid.Cid) (bool, error)
- func (m *MockAPI) ChainReadObj(ctx context.Context, c cid.Cid) ([]byte, error)
- func (m *MockAPI) ResetCallCounts()
- func (m *MockAPI) SetActor(tsk types.TipSetKey, act *types.Actor)
- func (m *MockAPI) StateGetActor(ctx context.Context, actor address.Address, tsk types.TipSetKey) (*types.Actor, error)
- func (m *MockAPI) StateGetActorCallCount() int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateDealAMT ¶
func CreateEmptyMarketState ¶
Types ¶
type MockAPI ¶
type MockAPI struct {
// contains filtered or unexported fields
}
func NewMockAPI ¶
func NewMockAPI(bs blockstore.Blockstore) *MockAPI
func (*MockAPI) ChainHasObj ¶
func (*MockAPI) ChainReadObj ¶
func (*MockAPI) ResetCallCounts ¶
func (m *MockAPI) ResetCallCounts()
func (*MockAPI) StateGetActor ¶
func (*MockAPI) StateGetActorCallCount ¶
Click to show internal directories.
Click to hide internal directories.