Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockCommitBatcherApi
- func (m *MockCommitBatcherApi) ChainHead(arg0 context.Context) (*types.TipSet, error)
- func (m *MockCommitBatcherApi) EXPECT() *MockCommitBatcherApiMockRecorder
- func (m *MockCommitBatcherApi) GasEstimateMessageGas(arg0 context.Context, arg1 *types.Message, arg2 *api.MessageSendSpec, ...) (*types.Message, error)
- func (m *MockCommitBatcherApi) MpoolPushMessage(arg0 context.Context, arg1 *types.Message, arg2 *api.MessageSendSpec) (*types.SignedMessage, error)
- func (m *MockCommitBatcherApi) StateAccountKey(arg0 context.Context, arg1 address.Address, arg2 types.TipSetKey) (address.Address, error)
- func (m *MockCommitBatcherApi) StateLookupID(arg0 context.Context, arg1 address.Address, arg2 types.TipSetKey) (address.Address, error)
- func (m *MockCommitBatcherApi) StateMinerAvailableBalance(arg0 context.Context, arg1 address.Address, arg2 types.TipSetKey) (big.Int, error)
- func (m *MockCommitBatcherApi) StateMinerInfo(arg0 context.Context, arg1 address.Address, arg2 types.TipSetKey) (api.MinerInfo, error)
- func (m *MockCommitBatcherApi) StateMinerInitialPledgeCollateral(arg0 context.Context, arg1 address.Address, arg2 miner.SectorPreCommitInfo, ...) (big.Int, error)
- func (m *MockCommitBatcherApi) StateNetworkVersion(arg0 context.Context, arg1 types.TipSetKey) (network.Version, error)
- func (m *MockCommitBatcherApi) StateSectorPreCommitInfo(arg0 context.Context, arg1 address.Address, arg2 abi.SectorNumber, ...) (*miner.SectorPreCommitOnChainInfo, error)
- func (m *MockCommitBatcherApi) WalletBalance(arg0 context.Context, arg1 address.Address) (big.Int, error)
- func (m *MockCommitBatcherApi) WalletHas(arg0 context.Context, arg1 address.Address) (bool, error)
- type MockCommitBatcherApiMockRecorder
- func (mr *MockCommitBatcherApiMockRecorder) ChainHead(arg0 interface{}) *gomock.Call
- func (mr *MockCommitBatcherApiMockRecorder) GasEstimateMessageGas(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockCommitBatcherApiMockRecorder) MpoolPushMessage(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockCommitBatcherApiMockRecorder) StateAccountKey(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockCommitBatcherApiMockRecorder) StateLookupID(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockCommitBatcherApiMockRecorder) StateMinerAvailableBalance(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockCommitBatcherApiMockRecorder) StateMinerInfo(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockCommitBatcherApiMockRecorder) StateMinerInitialPledgeCollateral(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockCommitBatcherApiMockRecorder) StateNetworkVersion(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCommitBatcherApiMockRecorder) StateSectorPreCommitInfo(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockCommitBatcherApiMockRecorder) WalletBalance(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCommitBatcherApiMockRecorder) WalletHas(arg0, arg1 interface{}) *gomock.Call
- type MockContext
- type MockContextMockRecorder
- type MockPreCommitBatcherApi
- func (m *MockPreCommitBatcherApi) ChainHead(arg0 context.Context) (*types.TipSet, error)
- func (m *MockPreCommitBatcherApi) EXPECT() *MockPreCommitBatcherApiMockRecorder
- func (m *MockPreCommitBatcherApi) GasEstimateMessageGas(arg0 context.Context, arg1 *types.Message, arg2 *api.MessageSendSpec, ...) (*types.Message, error)
- func (m *MockPreCommitBatcherApi) MpoolPushMessage(arg0 context.Context, arg1 *types.Message, arg2 *api.MessageSendSpec) (*types.SignedMessage, error)
- func (m *MockPreCommitBatcherApi) StateAccountKey(arg0 context.Context, arg1 address.Address, arg2 types.TipSetKey) (address.Address, error)
- func (m *MockPreCommitBatcherApi) StateGetAllocationForPendingDeal(arg0 context.Context, arg1 abi.DealID, arg2 types.TipSetKey) (*verifreg.Allocation, error)
- func (m *MockPreCommitBatcherApi) StateLookupID(arg0 context.Context, arg1 address.Address, arg2 types.TipSetKey) (address.Address, error)
- func (m *MockPreCommitBatcherApi) StateMinerAvailableBalance(arg0 context.Context, arg1 address.Address, arg2 types.TipSetKey) (big.Int, error)
- func (m *MockPreCommitBatcherApi) StateMinerInfo(arg0 context.Context, arg1 address.Address, arg2 types.TipSetKey) (api.MinerInfo, error)
- func (m *MockPreCommitBatcherApi) StateNetworkVersion(arg0 context.Context, arg1 types.TipSetKey) (network.Version, error)
- func (m *MockPreCommitBatcherApi) WalletBalance(arg0 context.Context, arg1 address.Address) (big.Int, error)
- func (m *MockPreCommitBatcherApi) WalletHas(arg0 context.Context, arg1 address.Address) (bool, error)
- type MockPreCommitBatcherApiMockRecorder
- func (mr *MockPreCommitBatcherApiMockRecorder) ChainHead(arg0 interface{}) *gomock.Call
- func (mr *MockPreCommitBatcherApiMockRecorder) GasEstimateMessageGas(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockPreCommitBatcherApiMockRecorder) MpoolPushMessage(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockPreCommitBatcherApiMockRecorder) StateAccountKey(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockPreCommitBatcherApiMockRecorder) StateGetAllocationForPendingDeal(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockPreCommitBatcherApiMockRecorder) StateLookupID(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockPreCommitBatcherApiMockRecorder) StateMinerAvailableBalance(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockPreCommitBatcherApiMockRecorder) StateMinerInfo(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockPreCommitBatcherApiMockRecorder) StateNetworkVersion(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPreCommitBatcherApiMockRecorder) WalletBalance(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPreCommitBatcherApiMockRecorder) WalletHas(arg0, arg1 interface{}) *gomock.Call
- type MockSealingAPI
- func (m *MockSealingAPI) ChainGetMessage(arg0 context.Context, arg1 cid.Cid) (*types.Message, error)
- func (m *MockSealingAPI) ChainHead(arg0 context.Context) (*types.TipSet, error)
- func (m *MockSealingAPI) ChainReadObj(arg0 context.Context, arg1 cid.Cid) ([]byte, error)
- func (m *MockSealingAPI) EXPECT() *MockSealingAPIMockRecorder
- func (m *MockSealingAPI) GasEstimateMessageGas(arg0 context.Context, arg1 *types.Message, arg2 *api.MessageSendSpec, ...) (*types.Message, error)
- func (m *MockSealingAPI) MpoolPushMessage(arg0 context.Context, arg1 *types.Message, arg2 *api.MessageSendSpec) (*types.SignedMessage, error)
- func (m *MockSealingAPI) StateAccountKey(arg0 context.Context, arg1 address.Address, arg2 types.TipSetKey) (address.Address, error)
- func (m *MockSealingAPI) StateComputeDataCID(arg0 context.Context, arg1 address.Address, arg2 abi.RegisteredSealProof, ...) (cid.Cid, error)
- func (m *MockSealingAPI) StateGetAllocationForPendingDeal(arg0 context.Context, arg1 abi.DealID, arg2 types.TipSetKey) (*verifreg.Allocation, error)
- func (m *MockSealingAPI) StateGetRandomnessFromBeacon(arg0 context.Context, arg1 crypto.DomainSeparationTag, arg2 abi.ChainEpoch, ...) (abi.Randomness, error)
- func (m *MockSealingAPI) StateGetRandomnessFromTickets(arg0 context.Context, arg1 crypto.DomainSeparationTag, arg2 abi.ChainEpoch, ...) (abi.Randomness, error)
- func (m *MockSealingAPI) StateLookupID(arg0 context.Context, arg1 address.Address, arg2 types.TipSetKey) (address.Address, error)
- func (m *MockSealingAPI) StateMarketStorageDeal(arg0 context.Context, arg1 abi.DealID, arg2 types.TipSetKey) (*api.MarketDeal, error)
- func (m *MockSealingAPI) StateMinerAllocated(arg0 context.Context, arg1 address.Address, arg2 types.TipSetKey) (*bitfield.BitField, error)
- func (m *MockSealingAPI) StateMinerAvailableBalance(arg0 context.Context, arg1 address.Address, arg2 types.TipSetKey) (big.Int, error)
- func (m *MockSealingAPI) StateMinerDeadlines(arg0 context.Context, arg1 address.Address, arg2 types.TipSetKey) ([]api.Deadline, error)
- func (m *MockSealingAPI) StateMinerInfo(arg0 context.Context, arg1 address.Address, arg2 types.TipSetKey) (api.MinerInfo, error)
- func (m *MockSealingAPI) StateMinerInitialPledgeCollateral(arg0 context.Context, arg1 address.Address, arg2 miner.SectorPreCommitInfo, ...) (big.Int, error)
- func (m *MockSealingAPI) StateMinerPartitions(arg0 context.Context, arg1 address.Address, arg2 uint64, arg3 types.TipSetKey) ([]api.Partition, error)
- func (m *MockSealingAPI) StateMinerPreCommitDepositForPower(arg0 context.Context, arg1 address.Address, arg2 miner.SectorPreCommitInfo, ...) (big.Int, error)
- func (m *MockSealingAPI) StateMinerProvingDeadline(arg0 context.Context, arg1 address.Address, arg2 types.TipSetKey) (*dline.Info, error)
- func (m *MockSealingAPI) StateMinerSectorAllocated(arg0 context.Context, arg1 address.Address, arg2 abi.SectorNumber, ...) (bool, error)
- func (m *MockSealingAPI) StateNetworkVersion(arg0 context.Context, arg1 types.TipSetKey) (network.Version, error)
- func (m *MockSealingAPI) StateSearchMsg(arg0 context.Context, arg1 types.TipSetKey, arg2 cid.Cid, arg3 abi.ChainEpoch, ...) (*api.MsgLookup, error)
- func (m *MockSealingAPI) StateSectorGetInfo(arg0 context.Context, arg1 address.Address, arg2 abi.SectorNumber, ...) (*miner.SectorOnChainInfo, error)
- func (m *MockSealingAPI) StateSectorPartition(arg0 context.Context, arg1 address.Address, arg2 abi.SectorNumber, ...) (*miner0.SectorLocation, error)
- func (m *MockSealingAPI) StateSectorPreCommitInfo(arg0 context.Context, arg1 address.Address, arg2 abi.SectorNumber, ...) (*miner.SectorPreCommitOnChainInfo, error)
- func (m *MockSealingAPI) StateWaitMsg(arg0 context.Context, arg1 cid.Cid, arg2 uint64, arg3 abi.ChainEpoch, ...) (*api.MsgLookup, error)
- func (m *MockSealingAPI) WalletBalance(arg0 context.Context, arg1 address.Address) (big.Int, error)
- func (m *MockSealingAPI) WalletHas(arg0 context.Context, arg1 address.Address) (bool, error)
- type MockSealingAPIMockRecorder
- func (mr *MockSealingAPIMockRecorder) ChainGetMessage(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSealingAPIMockRecorder) ChainHead(arg0 interface{}) *gomock.Call
- func (mr *MockSealingAPIMockRecorder) ChainReadObj(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSealingAPIMockRecorder) GasEstimateMessageGas(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockSealingAPIMockRecorder) MpoolPushMessage(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockSealingAPIMockRecorder) StateAccountKey(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockSealingAPIMockRecorder) StateComputeDataCID(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockSealingAPIMockRecorder) StateGetAllocationForPendingDeal(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockSealingAPIMockRecorder) StateGetRandomnessFromBeacon(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockSealingAPIMockRecorder) StateGetRandomnessFromTickets(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockSealingAPIMockRecorder) StateLookupID(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockSealingAPIMockRecorder) StateMarketStorageDeal(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockSealingAPIMockRecorder) StateMinerAllocated(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockSealingAPIMockRecorder) StateMinerAvailableBalance(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockSealingAPIMockRecorder) StateMinerDeadlines(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockSealingAPIMockRecorder) StateMinerInfo(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockSealingAPIMockRecorder) StateMinerInitialPledgeCollateral(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockSealingAPIMockRecorder) StateMinerPartitions(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockSealingAPIMockRecorder) StateMinerPreCommitDepositForPower(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockSealingAPIMockRecorder) StateMinerProvingDeadline(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockSealingAPIMockRecorder) StateMinerSectorAllocated(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockSealingAPIMockRecorder) StateNetworkVersion(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSealingAPIMockRecorder) StateSearchMsg(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockSealingAPIMockRecorder) StateSectorGetInfo(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockSealingAPIMockRecorder) StateSectorPartition(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockSealingAPIMockRecorder) StateSectorPreCommitInfo(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockSealingAPIMockRecorder) StateWaitMsg(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockSealingAPIMockRecorder) WalletBalance(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSealingAPIMockRecorder) WalletHas(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCommitBatcherApi ¶
type MockCommitBatcherApi struct {
// contains filtered or unexported fields
}
MockCommitBatcherApi is a mock of CommitBatcherApi interface.
func NewMockCommitBatcherApi ¶
func NewMockCommitBatcherApi(ctrl *gomock.Controller) *MockCommitBatcherApi
NewMockCommitBatcherApi creates a new mock instance.
func (*MockCommitBatcherApi) EXPECT ¶
func (m *MockCommitBatcherApi) EXPECT() *MockCommitBatcherApiMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCommitBatcherApi) GasEstimateMessageGas ¶ added in v1.23.1
func (m *MockCommitBatcherApi) GasEstimateMessageGas(arg0 context.Context, arg1 *types.Message, arg2 *api.MessageSendSpec, arg3 types.TipSetKey) (*types.Message, error)
GasEstimateMessageGas mocks base method.
func (*MockCommitBatcherApi) MpoolPushMessage ¶
func (m *MockCommitBatcherApi) MpoolPushMessage(arg0 context.Context, arg1 *types.Message, arg2 *api.MessageSendSpec) (*types.SignedMessage, error)
MpoolPushMessage mocks base method.
func (*MockCommitBatcherApi) StateAccountKey ¶ added in v1.17.2
func (m *MockCommitBatcherApi) StateAccountKey(arg0 context.Context, arg1 address.Address, arg2 types.TipSetKey) (address.Address, error)
StateAccountKey mocks base method.
func (*MockCommitBatcherApi) StateLookupID ¶ added in v1.17.2
func (m *MockCommitBatcherApi) StateLookupID(arg0 context.Context, arg1 address.Address, arg2 types.TipSetKey) (address.Address, error)
StateLookupID mocks base method.
func (*MockCommitBatcherApi) StateMinerAvailableBalance ¶
func (m *MockCommitBatcherApi) StateMinerAvailableBalance(arg0 context.Context, arg1 address.Address, arg2 types.TipSetKey) (big.Int, error)
StateMinerAvailableBalance mocks base method.
func (*MockCommitBatcherApi) StateMinerInfo ¶
func (m *MockCommitBatcherApi) StateMinerInfo(arg0 context.Context, arg1 address.Address, arg2 types.TipSetKey) (api.MinerInfo, error)
StateMinerInfo mocks base method.
func (*MockCommitBatcherApi) StateMinerInitialPledgeCollateral ¶
func (m *MockCommitBatcherApi) StateMinerInitialPledgeCollateral(arg0 context.Context, arg1 address.Address, arg2 miner.SectorPreCommitInfo, arg3 types.TipSetKey) (big.Int, error)
StateMinerInitialPledgeCollateral mocks base method.
func (*MockCommitBatcherApi) StateNetworkVersion ¶
func (m *MockCommitBatcherApi) StateNetworkVersion(arg0 context.Context, arg1 types.TipSetKey) (network.Version, error)
StateNetworkVersion mocks base method.
func (*MockCommitBatcherApi) StateSectorPreCommitInfo ¶
func (m *MockCommitBatcherApi) StateSectorPreCommitInfo(arg0 context.Context, arg1 address.Address, arg2 abi.SectorNumber, arg3 types.TipSetKey) (*miner.SectorPreCommitOnChainInfo, error)
StateSectorPreCommitInfo mocks base method.
func (*MockCommitBatcherApi) WalletBalance ¶ added in v1.17.2
func (m *MockCommitBatcherApi) WalletBalance(arg0 context.Context, arg1 address.Address) (big.Int, error)
WalletBalance mocks base method.
type MockCommitBatcherApiMockRecorder ¶
type MockCommitBatcherApiMockRecorder struct {
// contains filtered or unexported fields
}
MockCommitBatcherApiMockRecorder is the mock recorder for MockCommitBatcherApi.
func (*MockCommitBatcherApiMockRecorder) ChainHead ¶
func (mr *MockCommitBatcherApiMockRecorder) ChainHead(arg0 interface{}) *gomock.Call
ChainHead indicates an expected call of ChainHead.
func (*MockCommitBatcherApiMockRecorder) GasEstimateMessageGas ¶ added in v1.23.1
func (mr *MockCommitBatcherApiMockRecorder) GasEstimateMessageGas(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
GasEstimateMessageGas indicates an expected call of GasEstimateMessageGas.
func (*MockCommitBatcherApiMockRecorder) MpoolPushMessage ¶
func (mr *MockCommitBatcherApiMockRecorder) MpoolPushMessage(arg0, arg1, arg2 interface{}) *gomock.Call
MpoolPushMessage indicates an expected call of MpoolPushMessage.
func (*MockCommitBatcherApiMockRecorder) StateAccountKey ¶ added in v1.17.2
func (mr *MockCommitBatcherApiMockRecorder) StateAccountKey(arg0, arg1, arg2 interface{}) *gomock.Call
StateAccountKey indicates an expected call of StateAccountKey.
func (*MockCommitBatcherApiMockRecorder) StateLookupID ¶ added in v1.17.2
func (mr *MockCommitBatcherApiMockRecorder) StateLookupID(arg0, arg1, arg2 interface{}) *gomock.Call
StateLookupID indicates an expected call of StateLookupID.
func (*MockCommitBatcherApiMockRecorder) StateMinerAvailableBalance ¶
func (mr *MockCommitBatcherApiMockRecorder) StateMinerAvailableBalance(arg0, arg1, arg2 interface{}) *gomock.Call
StateMinerAvailableBalance indicates an expected call of StateMinerAvailableBalance.
func (*MockCommitBatcherApiMockRecorder) StateMinerInfo ¶
func (mr *MockCommitBatcherApiMockRecorder) StateMinerInfo(arg0, arg1, arg2 interface{}) *gomock.Call
StateMinerInfo indicates an expected call of StateMinerInfo.
func (*MockCommitBatcherApiMockRecorder) StateMinerInitialPledgeCollateral ¶
func (mr *MockCommitBatcherApiMockRecorder) StateMinerInitialPledgeCollateral(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
StateMinerInitialPledgeCollateral indicates an expected call of StateMinerInitialPledgeCollateral.
func (*MockCommitBatcherApiMockRecorder) StateNetworkVersion ¶
func (mr *MockCommitBatcherApiMockRecorder) StateNetworkVersion(arg0, arg1 interface{}) *gomock.Call
StateNetworkVersion indicates an expected call of StateNetworkVersion.
func (*MockCommitBatcherApiMockRecorder) StateSectorPreCommitInfo ¶
func (mr *MockCommitBatcherApiMockRecorder) StateSectorPreCommitInfo(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
StateSectorPreCommitInfo indicates an expected call of StateSectorPreCommitInfo.
func (*MockCommitBatcherApiMockRecorder) WalletBalance ¶ added in v1.17.2
func (mr *MockCommitBatcherApiMockRecorder) WalletBalance(arg0, arg1 interface{}) *gomock.Call
WalletBalance indicates an expected call of WalletBalance.
func (*MockCommitBatcherApiMockRecorder) WalletHas ¶ added in v1.17.2
func (mr *MockCommitBatcherApiMockRecorder) WalletHas(arg0, arg1 interface{}) *gomock.Call
WalletHas indicates an expected call of WalletHas.
type MockContext ¶
type MockContext struct {
// contains filtered or unexported fields
}
MockContext is a mock of Context interface.
func NewMockContext ¶
func NewMockContext(ctrl *gomock.Controller) *MockContext
NewMockContext creates a new mock instance.
func (*MockContext) Context ¶
func (m *MockContext) Context() context.Context
Context mocks base method.
func (*MockContext) EXPECT ¶
func (m *MockContext) EXPECT() *MockContextMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockContext) Send ¶
func (m *MockContext) Send(arg0 interface{}) error
Send mocks base method.
type MockContextMockRecorder ¶
type MockContextMockRecorder struct {
// contains filtered or unexported fields
}
MockContextMockRecorder is the mock recorder for MockContext.
func (*MockContextMockRecorder) Context ¶
func (mr *MockContextMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context.
func (*MockContextMockRecorder) Send ¶
func (mr *MockContextMockRecorder) Send(arg0 interface{}) *gomock.Call
Send indicates an expected call of Send.
type MockPreCommitBatcherApi ¶
type MockPreCommitBatcherApi struct {
// contains filtered or unexported fields
}
MockPreCommitBatcherApi is a mock of PreCommitBatcherApi interface.
func NewMockPreCommitBatcherApi ¶
func NewMockPreCommitBatcherApi(ctrl *gomock.Controller) *MockPreCommitBatcherApi
NewMockPreCommitBatcherApi creates a new mock instance.
func (*MockPreCommitBatcherApi) EXPECT ¶
func (m *MockPreCommitBatcherApi) EXPECT() *MockPreCommitBatcherApiMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPreCommitBatcherApi) GasEstimateMessageGas ¶ added in v1.23.1
func (m *MockPreCommitBatcherApi) GasEstimateMessageGas(arg0 context.Context, arg1 *types.Message, arg2 *api.MessageSendSpec, arg3 types.TipSetKey) (*types.Message, error)
GasEstimateMessageGas mocks base method.
func (*MockPreCommitBatcherApi) MpoolPushMessage ¶
func (m *MockPreCommitBatcherApi) MpoolPushMessage(arg0 context.Context, arg1 *types.Message, arg2 *api.MessageSendSpec) (*types.SignedMessage, error)
MpoolPushMessage mocks base method.
func (*MockPreCommitBatcherApi) StateAccountKey ¶ added in v1.17.2
func (m *MockPreCommitBatcherApi) StateAccountKey(arg0 context.Context, arg1 address.Address, arg2 types.TipSetKey) (address.Address, error)
StateAccountKey mocks base method.
func (*MockPreCommitBatcherApi) StateGetAllocationForPendingDeal ¶ added in v1.23.0
func (m *MockPreCommitBatcherApi) StateGetAllocationForPendingDeal(arg0 context.Context, arg1 abi.DealID, arg2 types.TipSetKey) (*verifreg.Allocation, error)
StateGetAllocationForPendingDeal mocks base method.
func (*MockPreCommitBatcherApi) StateLookupID ¶ added in v1.17.2
func (m *MockPreCommitBatcherApi) StateLookupID(arg0 context.Context, arg1 address.Address, arg2 types.TipSetKey) (address.Address, error)
StateLookupID mocks base method.
func (*MockPreCommitBatcherApi) StateMinerAvailableBalance ¶
func (m *MockPreCommitBatcherApi) StateMinerAvailableBalance(arg0 context.Context, arg1 address.Address, arg2 types.TipSetKey) (big.Int, error)
StateMinerAvailableBalance mocks base method.
func (*MockPreCommitBatcherApi) StateMinerInfo ¶
func (m *MockPreCommitBatcherApi) StateMinerInfo(arg0 context.Context, arg1 address.Address, arg2 types.TipSetKey) (api.MinerInfo, error)
StateMinerInfo mocks base method.
func (*MockPreCommitBatcherApi) StateNetworkVersion ¶
func (m *MockPreCommitBatcherApi) StateNetworkVersion(arg0 context.Context, arg1 types.TipSetKey) (network.Version, error)
StateNetworkVersion mocks base method.
func (*MockPreCommitBatcherApi) WalletBalance ¶ added in v1.17.2
func (m *MockPreCommitBatcherApi) WalletBalance(arg0 context.Context, arg1 address.Address) (big.Int, error)
WalletBalance mocks base method.
type MockPreCommitBatcherApiMockRecorder ¶
type MockPreCommitBatcherApiMockRecorder struct {
// contains filtered or unexported fields
}
MockPreCommitBatcherApiMockRecorder is the mock recorder for MockPreCommitBatcherApi.
func (*MockPreCommitBatcherApiMockRecorder) ChainHead ¶
func (mr *MockPreCommitBatcherApiMockRecorder) ChainHead(arg0 interface{}) *gomock.Call
ChainHead indicates an expected call of ChainHead.
func (*MockPreCommitBatcherApiMockRecorder) GasEstimateMessageGas ¶ added in v1.23.1
func (mr *MockPreCommitBatcherApiMockRecorder) GasEstimateMessageGas(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
GasEstimateMessageGas indicates an expected call of GasEstimateMessageGas.
func (*MockPreCommitBatcherApiMockRecorder) MpoolPushMessage ¶
func (mr *MockPreCommitBatcherApiMockRecorder) MpoolPushMessage(arg0, arg1, arg2 interface{}) *gomock.Call
MpoolPushMessage indicates an expected call of MpoolPushMessage.
func (*MockPreCommitBatcherApiMockRecorder) StateAccountKey ¶ added in v1.17.2
func (mr *MockPreCommitBatcherApiMockRecorder) StateAccountKey(arg0, arg1, arg2 interface{}) *gomock.Call
StateAccountKey indicates an expected call of StateAccountKey.
func (*MockPreCommitBatcherApiMockRecorder) StateGetAllocationForPendingDeal ¶ added in v1.23.0
func (mr *MockPreCommitBatcherApiMockRecorder) StateGetAllocationForPendingDeal(arg0, arg1, arg2 interface{}) *gomock.Call
StateGetAllocationForPendingDeal indicates an expected call of StateGetAllocationForPendingDeal.
func (*MockPreCommitBatcherApiMockRecorder) StateLookupID ¶ added in v1.17.2
func (mr *MockPreCommitBatcherApiMockRecorder) StateLookupID(arg0, arg1, arg2 interface{}) *gomock.Call
StateLookupID indicates an expected call of StateLookupID.
func (*MockPreCommitBatcherApiMockRecorder) StateMinerAvailableBalance ¶
func (mr *MockPreCommitBatcherApiMockRecorder) StateMinerAvailableBalance(arg0, arg1, arg2 interface{}) *gomock.Call
StateMinerAvailableBalance indicates an expected call of StateMinerAvailableBalance.
func (*MockPreCommitBatcherApiMockRecorder) StateMinerInfo ¶
func (mr *MockPreCommitBatcherApiMockRecorder) StateMinerInfo(arg0, arg1, arg2 interface{}) *gomock.Call
StateMinerInfo indicates an expected call of StateMinerInfo.
func (*MockPreCommitBatcherApiMockRecorder) StateNetworkVersion ¶
func (mr *MockPreCommitBatcherApiMockRecorder) StateNetworkVersion(arg0, arg1 interface{}) *gomock.Call
StateNetworkVersion indicates an expected call of StateNetworkVersion.
func (*MockPreCommitBatcherApiMockRecorder) WalletBalance ¶ added in v1.17.2
func (mr *MockPreCommitBatcherApiMockRecorder) WalletBalance(arg0, arg1 interface{}) *gomock.Call
WalletBalance indicates an expected call of WalletBalance.
func (*MockPreCommitBatcherApiMockRecorder) WalletHas ¶ added in v1.17.2
func (mr *MockPreCommitBatcherApiMockRecorder) WalletHas(arg0, arg1 interface{}) *gomock.Call
WalletHas indicates an expected call of WalletHas.
type MockSealingAPI ¶
type MockSealingAPI struct {
// contains filtered or unexported fields
}
MockSealingAPI is a mock of SealingAPI interface.
func NewMockSealingAPI ¶
func NewMockSealingAPI(ctrl *gomock.Controller) *MockSealingAPI
NewMockSealingAPI creates a new mock instance.
func (*MockSealingAPI) ChainGetMessage ¶
func (m *MockSealingAPI) ChainGetMessage(arg0 context.Context, arg1 cid.Cid) (*types.Message, error)
ChainGetMessage mocks base method.
func (*MockSealingAPI) ChainReadObj ¶
ChainReadObj mocks base method.
func (*MockSealingAPI) EXPECT ¶
func (m *MockSealingAPI) EXPECT() *MockSealingAPIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSealingAPI) GasEstimateMessageGas ¶ added in v1.23.1
func (m *MockSealingAPI) GasEstimateMessageGas(arg0 context.Context, arg1 *types.Message, arg2 *api.MessageSendSpec, arg3 types.TipSetKey) (*types.Message, error)
GasEstimateMessageGas mocks base method.
func (*MockSealingAPI) MpoolPushMessage ¶
func (m *MockSealingAPI) MpoolPushMessage(arg0 context.Context, arg1 *types.Message, arg2 *api.MessageSendSpec) (*types.SignedMessage, error)
MpoolPushMessage mocks base method.
func (*MockSealingAPI) StateAccountKey ¶ added in v1.17.2
func (m *MockSealingAPI) StateAccountKey(arg0 context.Context, arg1 address.Address, arg2 types.TipSetKey) (address.Address, error)
StateAccountKey mocks base method.
func (*MockSealingAPI) StateComputeDataCID ¶
func (m *MockSealingAPI) StateComputeDataCID(arg0 context.Context, arg1 address.Address, arg2 abi.RegisteredSealProof, arg3 []abi.DealID, arg4 types.TipSetKey) (cid.Cid, error)
StateComputeDataCID mocks base method.
func (*MockSealingAPI) StateGetAllocationForPendingDeal ¶ added in v1.18.0
func (m *MockSealingAPI) StateGetAllocationForPendingDeal(arg0 context.Context, arg1 abi.DealID, arg2 types.TipSetKey) (*verifreg.Allocation, error)
StateGetAllocationForPendingDeal mocks base method.
func (*MockSealingAPI) StateGetRandomnessFromBeacon ¶
func (m *MockSealingAPI) StateGetRandomnessFromBeacon(arg0 context.Context, arg1 crypto.DomainSeparationTag, arg2 abi.ChainEpoch, arg3 []byte, arg4 types.TipSetKey) (abi.Randomness, error)
StateGetRandomnessFromBeacon mocks base method.
func (*MockSealingAPI) StateGetRandomnessFromTickets ¶
func (m *MockSealingAPI) StateGetRandomnessFromTickets(arg0 context.Context, arg1 crypto.DomainSeparationTag, arg2 abi.ChainEpoch, arg3 []byte, arg4 types.TipSetKey) (abi.Randomness, error)
StateGetRandomnessFromTickets mocks base method.
func (*MockSealingAPI) StateLookupID ¶
func (m *MockSealingAPI) StateLookupID(arg0 context.Context, arg1 address.Address, arg2 types.TipSetKey) (address.Address, error)
StateLookupID mocks base method.
func (*MockSealingAPI) StateMarketStorageDeal ¶
func (m *MockSealingAPI) StateMarketStorageDeal(arg0 context.Context, arg1 abi.DealID, arg2 types.TipSetKey) (*api.MarketDeal, error)
StateMarketStorageDeal mocks base method.
func (*MockSealingAPI) StateMinerAllocated ¶ added in v1.17.2
func (m *MockSealingAPI) StateMinerAllocated(arg0 context.Context, arg1 address.Address, arg2 types.TipSetKey) (*bitfield.BitField, error)
StateMinerAllocated mocks base method.
func (*MockSealingAPI) StateMinerAvailableBalance ¶
func (m *MockSealingAPI) StateMinerAvailableBalance(arg0 context.Context, arg1 address.Address, arg2 types.TipSetKey) (big.Int, error)
StateMinerAvailableBalance mocks base method.
func (*MockSealingAPI) StateMinerDeadlines ¶
func (m *MockSealingAPI) StateMinerDeadlines(arg0 context.Context, arg1 address.Address, arg2 types.TipSetKey) ([]api.Deadline, error)
StateMinerDeadlines mocks base method.
func (*MockSealingAPI) StateMinerInfo ¶
func (m *MockSealingAPI) StateMinerInfo(arg0 context.Context, arg1 address.Address, arg2 types.TipSetKey) (api.MinerInfo, error)
StateMinerInfo mocks base method.
func (*MockSealingAPI) StateMinerInitialPledgeCollateral ¶
func (m *MockSealingAPI) StateMinerInitialPledgeCollateral(arg0 context.Context, arg1 address.Address, arg2 miner.SectorPreCommitInfo, arg3 types.TipSetKey) (big.Int, error)
StateMinerInitialPledgeCollateral mocks base method.
func (*MockSealingAPI) StateMinerPartitions ¶
func (m *MockSealingAPI) StateMinerPartitions(arg0 context.Context, arg1 address.Address, arg2 uint64, arg3 types.TipSetKey) ([]api.Partition, error)
StateMinerPartitions mocks base method.
func (*MockSealingAPI) StateMinerPreCommitDepositForPower ¶
func (m *MockSealingAPI) StateMinerPreCommitDepositForPower(arg0 context.Context, arg1 address.Address, arg2 miner.SectorPreCommitInfo, arg3 types.TipSetKey) (big.Int, error)
StateMinerPreCommitDepositForPower mocks base method.
func (*MockSealingAPI) StateMinerProvingDeadline ¶
func (m *MockSealingAPI) StateMinerProvingDeadline(arg0 context.Context, arg1 address.Address, arg2 types.TipSetKey) (*dline.Info, error)
StateMinerProvingDeadline mocks base method.
func (*MockSealingAPI) StateMinerSectorAllocated ¶
func (m *MockSealingAPI) StateMinerSectorAllocated(arg0 context.Context, arg1 address.Address, arg2 abi.SectorNumber, arg3 types.TipSetKey) (bool, error)
StateMinerSectorAllocated mocks base method.
func (*MockSealingAPI) StateNetworkVersion ¶
func (m *MockSealingAPI) StateNetworkVersion(arg0 context.Context, arg1 types.TipSetKey) (network.Version, error)
StateNetworkVersion mocks base method.
func (*MockSealingAPI) StateSearchMsg ¶
func (m *MockSealingAPI) StateSearchMsg(arg0 context.Context, arg1 types.TipSetKey, arg2 cid.Cid, arg3 abi.ChainEpoch, arg4 bool) (*api.MsgLookup, error)
StateSearchMsg mocks base method.
func (*MockSealingAPI) StateSectorGetInfo ¶
func (m *MockSealingAPI) StateSectorGetInfo(arg0 context.Context, arg1 address.Address, arg2 abi.SectorNumber, arg3 types.TipSetKey) (*miner.SectorOnChainInfo, error)
StateSectorGetInfo mocks base method.
func (*MockSealingAPI) StateSectorPartition ¶
func (m *MockSealingAPI) StateSectorPartition(arg0 context.Context, arg1 address.Address, arg2 abi.SectorNumber, arg3 types.TipSetKey) (*miner0.SectorLocation, error)
StateSectorPartition mocks base method.
func (*MockSealingAPI) StateSectorPreCommitInfo ¶
func (m *MockSealingAPI) StateSectorPreCommitInfo(arg0 context.Context, arg1 address.Address, arg2 abi.SectorNumber, arg3 types.TipSetKey) (*miner.SectorPreCommitOnChainInfo, error)
StateSectorPreCommitInfo mocks base method.
func (*MockSealingAPI) StateWaitMsg ¶
func (m *MockSealingAPI) StateWaitMsg(arg0 context.Context, arg1 cid.Cid, arg2 uint64, arg3 abi.ChainEpoch, arg4 bool) (*api.MsgLookup, error)
StateWaitMsg mocks base method.
func (*MockSealingAPI) WalletBalance ¶ added in v1.17.2
WalletBalance mocks base method.
type MockSealingAPIMockRecorder ¶
type MockSealingAPIMockRecorder struct {
// contains filtered or unexported fields
}
MockSealingAPIMockRecorder is the mock recorder for MockSealingAPI.
func (*MockSealingAPIMockRecorder) ChainGetMessage ¶
func (mr *MockSealingAPIMockRecorder) ChainGetMessage(arg0, arg1 interface{}) *gomock.Call
ChainGetMessage indicates an expected call of ChainGetMessage.
func (*MockSealingAPIMockRecorder) ChainHead ¶
func (mr *MockSealingAPIMockRecorder) ChainHead(arg0 interface{}) *gomock.Call
ChainHead indicates an expected call of ChainHead.
func (*MockSealingAPIMockRecorder) ChainReadObj ¶
func (mr *MockSealingAPIMockRecorder) ChainReadObj(arg0, arg1 interface{}) *gomock.Call
ChainReadObj indicates an expected call of ChainReadObj.
func (*MockSealingAPIMockRecorder) GasEstimateMessageGas ¶ added in v1.23.1
func (mr *MockSealingAPIMockRecorder) GasEstimateMessageGas(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
GasEstimateMessageGas indicates an expected call of GasEstimateMessageGas.
func (*MockSealingAPIMockRecorder) MpoolPushMessage ¶
func (mr *MockSealingAPIMockRecorder) MpoolPushMessage(arg0, arg1, arg2 interface{}) *gomock.Call
MpoolPushMessage indicates an expected call of MpoolPushMessage.
func (*MockSealingAPIMockRecorder) StateAccountKey ¶ added in v1.17.2
func (mr *MockSealingAPIMockRecorder) StateAccountKey(arg0, arg1, arg2 interface{}) *gomock.Call
StateAccountKey indicates an expected call of StateAccountKey.
func (*MockSealingAPIMockRecorder) StateComputeDataCID ¶
func (mr *MockSealingAPIMockRecorder) StateComputeDataCID(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
StateComputeDataCID indicates an expected call of StateComputeDataCID.
func (*MockSealingAPIMockRecorder) StateGetAllocationForPendingDeal ¶ added in v1.18.0
func (mr *MockSealingAPIMockRecorder) StateGetAllocationForPendingDeal(arg0, arg1, arg2 interface{}) *gomock.Call
StateGetAllocationForPendingDeal indicates an expected call of StateGetAllocationForPendingDeal.
func (*MockSealingAPIMockRecorder) StateGetRandomnessFromBeacon ¶
func (mr *MockSealingAPIMockRecorder) StateGetRandomnessFromBeacon(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
StateGetRandomnessFromBeacon indicates an expected call of StateGetRandomnessFromBeacon.
func (*MockSealingAPIMockRecorder) StateGetRandomnessFromTickets ¶
func (mr *MockSealingAPIMockRecorder) StateGetRandomnessFromTickets(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
StateGetRandomnessFromTickets indicates an expected call of StateGetRandomnessFromTickets.
func (*MockSealingAPIMockRecorder) StateLookupID ¶
func (mr *MockSealingAPIMockRecorder) StateLookupID(arg0, arg1, arg2 interface{}) *gomock.Call
StateLookupID indicates an expected call of StateLookupID.
func (*MockSealingAPIMockRecorder) StateMarketStorageDeal ¶
func (mr *MockSealingAPIMockRecorder) StateMarketStorageDeal(arg0, arg1, arg2 interface{}) *gomock.Call
StateMarketStorageDeal indicates an expected call of StateMarketStorageDeal.
func (*MockSealingAPIMockRecorder) StateMinerAllocated ¶ added in v1.17.2
func (mr *MockSealingAPIMockRecorder) StateMinerAllocated(arg0, arg1, arg2 interface{}) *gomock.Call
StateMinerAllocated indicates an expected call of StateMinerAllocated.
func (*MockSealingAPIMockRecorder) StateMinerAvailableBalance ¶
func (mr *MockSealingAPIMockRecorder) StateMinerAvailableBalance(arg0, arg1, arg2 interface{}) *gomock.Call
StateMinerAvailableBalance indicates an expected call of StateMinerAvailableBalance.
func (*MockSealingAPIMockRecorder) StateMinerDeadlines ¶
func (mr *MockSealingAPIMockRecorder) StateMinerDeadlines(arg0, arg1, arg2 interface{}) *gomock.Call
StateMinerDeadlines indicates an expected call of StateMinerDeadlines.
func (*MockSealingAPIMockRecorder) StateMinerInfo ¶
func (mr *MockSealingAPIMockRecorder) StateMinerInfo(arg0, arg1, arg2 interface{}) *gomock.Call
StateMinerInfo indicates an expected call of StateMinerInfo.
func (*MockSealingAPIMockRecorder) StateMinerInitialPledgeCollateral ¶
func (mr *MockSealingAPIMockRecorder) StateMinerInitialPledgeCollateral(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
StateMinerInitialPledgeCollateral indicates an expected call of StateMinerInitialPledgeCollateral.
func (*MockSealingAPIMockRecorder) StateMinerPartitions ¶
func (mr *MockSealingAPIMockRecorder) StateMinerPartitions(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
StateMinerPartitions indicates an expected call of StateMinerPartitions.
func (*MockSealingAPIMockRecorder) StateMinerPreCommitDepositForPower ¶
func (mr *MockSealingAPIMockRecorder) StateMinerPreCommitDepositForPower(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
StateMinerPreCommitDepositForPower indicates an expected call of StateMinerPreCommitDepositForPower.
func (*MockSealingAPIMockRecorder) StateMinerProvingDeadline ¶
func (mr *MockSealingAPIMockRecorder) StateMinerProvingDeadline(arg0, arg1, arg2 interface{}) *gomock.Call
StateMinerProvingDeadline indicates an expected call of StateMinerProvingDeadline.
func (*MockSealingAPIMockRecorder) StateMinerSectorAllocated ¶
func (mr *MockSealingAPIMockRecorder) StateMinerSectorAllocated(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
StateMinerSectorAllocated indicates an expected call of StateMinerSectorAllocated.
func (*MockSealingAPIMockRecorder) StateNetworkVersion ¶
func (mr *MockSealingAPIMockRecorder) StateNetworkVersion(arg0, arg1 interface{}) *gomock.Call
StateNetworkVersion indicates an expected call of StateNetworkVersion.
func (*MockSealingAPIMockRecorder) StateSearchMsg ¶
func (mr *MockSealingAPIMockRecorder) StateSearchMsg(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
StateSearchMsg indicates an expected call of StateSearchMsg.
func (*MockSealingAPIMockRecorder) StateSectorGetInfo ¶
func (mr *MockSealingAPIMockRecorder) StateSectorGetInfo(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
StateSectorGetInfo indicates an expected call of StateSectorGetInfo.
func (*MockSealingAPIMockRecorder) StateSectorPartition ¶
func (mr *MockSealingAPIMockRecorder) StateSectorPartition(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
StateSectorPartition indicates an expected call of StateSectorPartition.
func (*MockSealingAPIMockRecorder) StateSectorPreCommitInfo ¶
func (mr *MockSealingAPIMockRecorder) StateSectorPreCommitInfo(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
StateSectorPreCommitInfo indicates an expected call of StateSectorPreCommitInfo.
func (*MockSealingAPIMockRecorder) StateWaitMsg ¶
func (mr *MockSealingAPIMockRecorder) StateWaitMsg(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
StateWaitMsg indicates an expected call of StateWaitMsg.
func (*MockSealingAPIMockRecorder) WalletBalance ¶ added in v1.17.2
func (mr *MockSealingAPIMockRecorder) WalletBalance(arg0, arg1 interface{}) *gomock.Call
WalletBalance indicates an expected call of WalletBalance.
func (*MockSealingAPIMockRecorder) WalletHas ¶ added in v1.17.2
func (mr *MockSealingAPIMockRecorder) WalletHas(arg0, arg1 interface{}) *gomock.Call
WalletHas indicates an expected call of WalletHas.