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) ChainBaseFee(arg0 context.Context, arg1 sealing.TipSetToken) (big.Int, error)
- func (m *MockCommitBatcherApi) ChainHead(arg0 context.Context) (sealing.TipSetToken, abi.ChainEpoch, error)
- func (m *MockCommitBatcherApi) EXPECT() *MockCommitBatcherApiMockRecorder
- func (m *MockCommitBatcherApi) SendMsg(arg0 context.Context, arg1, arg2 address.Address, arg3 abi.MethodNum, ...) (cid.Cid, error)
- func (m *MockCommitBatcherApi) StateMinerAvailableBalance(arg0 context.Context, arg1 address.Address, arg2 sealing.TipSetToken) (big.Int, error)
- func (m *MockCommitBatcherApi) StateMinerInfo(arg0 context.Context, arg1 address.Address, arg2 sealing.TipSetToken) (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 sealing.TipSetToken) (network.Version, error)
- func (m *MockCommitBatcherApi) StateSectorPreCommitInfo(arg0 context.Context, arg1 address.Address, arg2 abi.SectorNumber, ...) (*miner.SectorPreCommitOnChainInfo, error)
- type MockCommitBatcherApiMockRecorder
- func (mr *MockCommitBatcherApiMockRecorder) ChainBaseFee(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCommitBatcherApiMockRecorder) ChainHead(arg0 interface{}) *gomock.Call
- func (mr *MockCommitBatcherApiMockRecorder) SendMsg(arg0, arg1, arg2, arg3, arg4, arg5, arg6 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
- type MockContext
- type MockContextMockRecorder
- type MockPreCommitBatcherApi
- func (m *MockPreCommitBatcherApi) ChainBaseFee(arg0 context.Context, arg1 sealing.TipSetToken) (big.Int, error)
- func (m *MockPreCommitBatcherApi) ChainHead(arg0 context.Context) (sealing.TipSetToken, abi.ChainEpoch, error)
- func (m *MockPreCommitBatcherApi) EXPECT() *MockPreCommitBatcherApiMockRecorder
- func (m *MockPreCommitBatcherApi) SendMsg(arg0 context.Context, arg1, arg2 address.Address, arg3 abi.MethodNum, ...) (cid.Cid, error)
- func (m *MockPreCommitBatcherApi) StateMinerAvailableBalance(arg0 context.Context, arg1 address.Address, arg2 sealing.TipSetToken) (big.Int, error)
- func (m *MockPreCommitBatcherApi) StateMinerInfo(arg0 context.Context, arg1 address.Address, arg2 sealing.TipSetToken) (api.MinerInfo, error)
- func (m *MockPreCommitBatcherApi) StateNetworkVersion(arg0 context.Context, arg1 sealing.TipSetToken) (network.Version, error)
- type MockPreCommitBatcherApiMockRecorder
- func (mr *MockPreCommitBatcherApiMockRecorder) ChainBaseFee(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPreCommitBatcherApiMockRecorder) ChainHead(arg0 interface{}) *gomock.Call
- func (mr *MockPreCommitBatcherApiMockRecorder) SendMsg(arg0, arg1, arg2, arg3, arg4, arg5, arg6 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
- type MockSealingAPI
- func (m *MockSealingAPI) ChainBaseFee(arg0 context.Context, arg1 sealing.TipSetToken) (big.Int, error)
- func (m *MockSealingAPI) ChainGetMessage(arg0 context.Context, arg1 cid.Cid) (*types.Message, error)
- func (m *MockSealingAPI) ChainHead(arg0 context.Context) (sealing.TipSetToken, abi.ChainEpoch, error)
- func (m *MockSealingAPI) ChainReadObj(arg0 context.Context, arg1 cid.Cid) ([]byte, error)
- func (m *MockSealingAPI) EXPECT() *MockSealingAPIMockRecorder
- func (m *MockSealingAPI) SendMsg(arg0 context.Context, arg1, arg2 address.Address, arg3 abi.MethodNum, ...) (cid.Cid, error)
- func (m *MockSealingAPI) StateComputeDataCommitment(arg0 context.Context, arg1 address.Address, arg2 abi.RegisteredSealProof, ...) (cid.Cid, 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 sealing.TipSetToken) (address.Address, error)
- func (m *MockSealingAPI) StateMarketStorageDeal(arg0 context.Context, arg1 abi.DealID, arg2 sealing.TipSetToken) (*api.MarketDeal, error)
- func (m *MockSealingAPI) StateMarketStorageDealProposal(arg0 context.Context, arg1 abi.DealID, arg2 sealing.TipSetToken) (market.DealProposal, error)
- func (m *MockSealingAPI) StateMinerActiveSectors(arg0 context.Context, arg1 address.Address, arg2 sealing.TipSetToken) (bitfield.BitField, error)
- func (m *MockSealingAPI) StateMinerAvailableBalance(arg0 context.Context, arg1 address.Address, arg2 sealing.TipSetToken) (big.Int, error)
- func (m *MockSealingAPI) StateMinerInfo(arg0 context.Context, arg1 address.Address, arg2 sealing.TipSetToken) (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, ...) ([]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 sealing.TipSetToken) (*dline.Info, error)
- func (m *MockSealingAPI) StateMinerSectorAllocated(arg0 context.Context, arg1 address.Address, arg2 abi.SectorNumber, ...) (bool, error)
- func (m *MockSealingAPI) StateMinerSectorSize(arg0 context.Context, arg1 address.Address, arg2 sealing.TipSetToken) (abi.SectorSize, error)
- func (m *MockSealingAPI) StateMinerWorkerAddress(arg0 context.Context, arg1 address.Address, arg2 sealing.TipSetToken) (address.Address, error)
- func (m *MockSealingAPI) StateNetworkVersion(arg0 context.Context, arg1 sealing.TipSetToken) (network.Version, error)
- func (m *MockSealingAPI) StateSearchMsg(arg0 context.Context, arg1 cid.Cid) (*sealing.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, ...) (*sealing.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) (sealing.MsgLookup, error)
- type MockSealingAPIMockRecorder
- func (mr *MockSealingAPIMockRecorder) ChainBaseFee(arg0, arg1 interface{}) *gomock.Call
- 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) SendMsg(arg0, arg1, arg2, arg3, arg4, arg5, arg6 interface{}) *gomock.Call
- func (mr *MockSealingAPIMockRecorder) StateComputeDataCommitment(arg0, arg1, arg2, arg3, arg4 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) StateMarketStorageDealProposal(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockSealingAPIMockRecorder) StateMinerActiveSectors(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockSealingAPIMockRecorder) StateMinerAvailableBalance(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) StateMinerSectorSize(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockSealingAPIMockRecorder) StateMinerWorkerAddress(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockSealingAPIMockRecorder) StateNetworkVersion(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSealingAPIMockRecorder) StateSearchMsg(arg0, arg1 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 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) ChainBaseFee ¶
func (m *MockCommitBatcherApi) ChainBaseFee(arg0 context.Context, arg1 sealing.TipSetToken) (big.Int, error)
ChainBaseFee mocks base method.
func (*MockCommitBatcherApi) ChainHead ¶
func (m *MockCommitBatcherApi) ChainHead(arg0 context.Context) (sealing.TipSetToken, abi.ChainEpoch, error)
ChainHead mocks base method.
func (*MockCommitBatcherApi) EXPECT ¶
func (m *MockCommitBatcherApi) EXPECT() *MockCommitBatcherApiMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCommitBatcherApi) SendMsg ¶
func (m *MockCommitBatcherApi) SendMsg(arg0 context.Context, arg1, arg2 address.Address, arg3 abi.MethodNum, arg4, arg5 big.Int, arg6 []byte) (cid.Cid, error)
SendMsg mocks base method.
func (*MockCommitBatcherApi) StateMinerAvailableBalance ¶
func (m *MockCommitBatcherApi) StateMinerAvailableBalance(arg0 context.Context, arg1 address.Address, arg2 sealing.TipSetToken) (big.Int, error)
StateMinerAvailableBalance mocks base method.
func (*MockCommitBatcherApi) StateMinerInfo ¶
func (m *MockCommitBatcherApi) StateMinerInfo(arg0 context.Context, arg1 address.Address, arg2 sealing.TipSetToken) (api.MinerInfo, error)
StateMinerInfo mocks base method.
func (*MockCommitBatcherApi) StateMinerInitialPledgeCollateral ¶
func (m *MockCommitBatcherApi) StateMinerInitialPledgeCollateral(arg0 context.Context, arg1 address.Address, arg2 miner.SectorPreCommitInfo, arg3 sealing.TipSetToken) (big.Int, error)
StateMinerInitialPledgeCollateral mocks base method.
func (*MockCommitBatcherApi) StateNetworkVersion ¶
func (m *MockCommitBatcherApi) StateNetworkVersion(arg0 context.Context, arg1 sealing.TipSetToken) (network.Version, error)
StateNetworkVersion mocks base method.
func (*MockCommitBatcherApi) StateSectorPreCommitInfo ¶
func (m *MockCommitBatcherApi) StateSectorPreCommitInfo(arg0 context.Context, arg1 address.Address, arg2 abi.SectorNumber, arg3 sealing.TipSetToken) (*miner.SectorPreCommitOnChainInfo, error)
StateSectorPreCommitInfo mocks base method.
type MockCommitBatcherApiMockRecorder ¶
type MockCommitBatcherApiMockRecorder struct {
// contains filtered or unexported fields
}
MockCommitBatcherApiMockRecorder is the mock recorder for MockCommitBatcherApi.
func (*MockCommitBatcherApiMockRecorder) ChainBaseFee ¶
func (mr *MockCommitBatcherApiMockRecorder) ChainBaseFee(arg0, arg1 interface{}) *gomock.Call
ChainBaseFee indicates an expected call of ChainBaseFee.
func (*MockCommitBatcherApiMockRecorder) ChainHead ¶
func (mr *MockCommitBatcherApiMockRecorder) ChainHead(arg0 interface{}) *gomock.Call
ChainHead indicates an expected call of ChainHead.
func (*MockCommitBatcherApiMockRecorder) SendMsg ¶
func (mr *MockCommitBatcherApiMockRecorder) SendMsg(arg0, arg1, arg2, arg3, arg4, arg5, arg6 interface{}) *gomock.Call
SendMsg indicates an expected call of SendMsg.
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.
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) ChainBaseFee ¶
func (m *MockPreCommitBatcherApi) ChainBaseFee(arg0 context.Context, arg1 sealing.TipSetToken) (big.Int, error)
ChainBaseFee mocks base method.
func (*MockPreCommitBatcherApi) ChainHead ¶
func (m *MockPreCommitBatcherApi) ChainHead(arg0 context.Context) (sealing.TipSetToken, abi.ChainEpoch, error)
ChainHead mocks base method.
func (*MockPreCommitBatcherApi) EXPECT ¶
func (m *MockPreCommitBatcherApi) EXPECT() *MockPreCommitBatcherApiMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPreCommitBatcherApi) SendMsg ¶
func (m *MockPreCommitBatcherApi) SendMsg(arg0 context.Context, arg1, arg2 address.Address, arg3 abi.MethodNum, arg4, arg5 big.Int, arg6 []byte) (cid.Cid, error)
SendMsg mocks base method.
func (*MockPreCommitBatcherApi) StateMinerAvailableBalance ¶
func (m *MockPreCommitBatcherApi) StateMinerAvailableBalance(arg0 context.Context, arg1 address.Address, arg2 sealing.TipSetToken) (big.Int, error)
StateMinerAvailableBalance mocks base method.
func (*MockPreCommitBatcherApi) StateMinerInfo ¶
func (m *MockPreCommitBatcherApi) StateMinerInfo(arg0 context.Context, arg1 address.Address, arg2 sealing.TipSetToken) (api.MinerInfo, error)
StateMinerInfo mocks base method.
func (*MockPreCommitBatcherApi) StateNetworkVersion ¶
func (m *MockPreCommitBatcherApi) StateNetworkVersion(arg0 context.Context, arg1 sealing.TipSetToken) (network.Version, error)
StateNetworkVersion mocks base method.
type MockPreCommitBatcherApiMockRecorder ¶
type MockPreCommitBatcherApiMockRecorder struct {
// contains filtered or unexported fields
}
MockPreCommitBatcherApiMockRecorder is the mock recorder for MockPreCommitBatcherApi.
func (*MockPreCommitBatcherApiMockRecorder) ChainBaseFee ¶
func (mr *MockPreCommitBatcherApiMockRecorder) ChainBaseFee(arg0, arg1 interface{}) *gomock.Call
ChainBaseFee indicates an expected call of ChainBaseFee.
func (*MockPreCommitBatcherApiMockRecorder) ChainHead ¶
func (mr *MockPreCommitBatcherApiMockRecorder) ChainHead(arg0 interface{}) *gomock.Call
ChainHead indicates an expected call of ChainHead.
func (*MockPreCommitBatcherApiMockRecorder) SendMsg ¶
func (mr *MockPreCommitBatcherApiMockRecorder) SendMsg(arg0, arg1, arg2, arg3, arg4, arg5, arg6 interface{}) *gomock.Call
SendMsg indicates an expected call of SendMsg.
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.
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) ChainBaseFee ¶
func (m *MockSealingAPI) ChainBaseFee(arg0 context.Context, arg1 sealing.TipSetToken) (big.Int, error)
ChainBaseFee mocks base method.
func (*MockSealingAPI) ChainGetMessage ¶
func (m *MockSealingAPI) ChainGetMessage(arg0 context.Context, arg1 cid.Cid) (*types.Message, error)
ChainGetMessage mocks base method.
func (*MockSealingAPI) ChainHead ¶
func (m *MockSealingAPI) ChainHead(arg0 context.Context) (sealing.TipSetToken, abi.ChainEpoch, error)
ChainHead 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) SendMsg ¶
func (m *MockSealingAPI) SendMsg(arg0 context.Context, arg1, arg2 address.Address, arg3 abi.MethodNum, arg4, arg5 big.Int, arg6 []byte) (cid.Cid, error)
SendMsg mocks base method.
func (*MockSealingAPI) StateComputeDataCommitment ¶
func (m *MockSealingAPI) StateComputeDataCommitment(arg0 context.Context, arg1 address.Address, arg2 abi.RegisteredSealProof, arg3 []abi.DealID, arg4 sealing.TipSetToken) (cid.Cid, error)
StateComputeDataCommitment mocks base method.
func (*MockSealingAPI) StateGetRandomnessFromBeacon ¶
func (m *MockSealingAPI) StateGetRandomnessFromBeacon(arg0 context.Context, arg1 crypto.DomainSeparationTag, arg2 abi.ChainEpoch, arg3 []byte, arg4 sealing.TipSetToken) (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 sealing.TipSetToken) (abi.Randomness, error)
StateGetRandomnessFromTickets mocks base method.
func (*MockSealingAPI) StateLookupID ¶
func (m *MockSealingAPI) StateLookupID(arg0 context.Context, arg1 address.Address, arg2 sealing.TipSetToken) (address.Address, error)
StateLookupID mocks base method.
func (*MockSealingAPI) StateMarketStorageDeal ¶
func (m *MockSealingAPI) StateMarketStorageDeal(arg0 context.Context, arg1 abi.DealID, arg2 sealing.TipSetToken) (*api.MarketDeal, error)
StateMarketStorageDeal mocks base method.
func (*MockSealingAPI) StateMarketStorageDealProposal ¶
func (m *MockSealingAPI) StateMarketStorageDealProposal(arg0 context.Context, arg1 abi.DealID, arg2 sealing.TipSetToken) (market.DealProposal, error)
StateMarketStorageDealProposal mocks base method.
func (*MockSealingAPI) StateMinerActiveSectors ¶
func (m *MockSealingAPI) StateMinerActiveSectors(arg0 context.Context, arg1 address.Address, arg2 sealing.TipSetToken) (bitfield.BitField, error)
StateMinerActiveSectors mocks base method.
func (*MockSealingAPI) StateMinerAvailableBalance ¶
func (m *MockSealingAPI) StateMinerAvailableBalance(arg0 context.Context, arg1 address.Address, arg2 sealing.TipSetToken) (big.Int, error)
StateMinerAvailableBalance mocks base method.
func (*MockSealingAPI) StateMinerInfo ¶
func (m *MockSealingAPI) StateMinerInfo(arg0 context.Context, arg1 address.Address, arg2 sealing.TipSetToken) (api.MinerInfo, error)
StateMinerInfo mocks base method.
func (*MockSealingAPI) StateMinerInitialPledgeCollateral ¶
func (m *MockSealingAPI) StateMinerInitialPledgeCollateral(arg0 context.Context, arg1 address.Address, arg2 miner.SectorPreCommitInfo, arg3 sealing.TipSetToken) (big.Int, error)
StateMinerInitialPledgeCollateral mocks base method.
func (*MockSealingAPI) StateMinerPartitions ¶
func (m *MockSealingAPI) StateMinerPartitions(arg0 context.Context, arg1 address.Address, arg2 uint64, arg3 sealing.TipSetToken) ([]api.Partition, error)
StateMinerPartitions mocks base method.
func (*MockSealingAPI) StateMinerPreCommitDepositForPower ¶
func (m *MockSealingAPI) StateMinerPreCommitDepositForPower(arg0 context.Context, arg1 address.Address, arg2 miner.SectorPreCommitInfo, arg3 sealing.TipSetToken) (big.Int, error)
StateMinerPreCommitDepositForPower mocks base method.
func (*MockSealingAPI) StateMinerProvingDeadline ¶
func (m *MockSealingAPI) StateMinerProvingDeadline(arg0 context.Context, arg1 address.Address, arg2 sealing.TipSetToken) (*dline.Info, error)
StateMinerProvingDeadline mocks base method.
func (*MockSealingAPI) StateMinerSectorAllocated ¶
func (m *MockSealingAPI) StateMinerSectorAllocated(arg0 context.Context, arg1 address.Address, arg2 abi.SectorNumber, arg3 sealing.TipSetToken) (bool, error)
StateMinerSectorAllocated mocks base method.
func (*MockSealingAPI) StateMinerSectorSize ¶
func (m *MockSealingAPI) StateMinerSectorSize(arg0 context.Context, arg1 address.Address, arg2 sealing.TipSetToken) (abi.SectorSize, error)
StateMinerSectorSize mocks base method.
func (*MockSealingAPI) StateMinerWorkerAddress ¶
func (m *MockSealingAPI) StateMinerWorkerAddress(arg0 context.Context, arg1 address.Address, arg2 sealing.TipSetToken) (address.Address, error)
StateMinerWorkerAddress mocks base method.
func (*MockSealingAPI) StateNetworkVersion ¶
func (m *MockSealingAPI) StateNetworkVersion(arg0 context.Context, arg1 sealing.TipSetToken) (network.Version, error)
StateNetworkVersion mocks base method.
func (*MockSealingAPI) StateSearchMsg ¶
func (m *MockSealingAPI) StateSearchMsg(arg0 context.Context, arg1 cid.Cid) (*sealing.MsgLookup, error)
StateSearchMsg mocks base method.
func (*MockSealingAPI) StateSectorGetInfo ¶
func (m *MockSealingAPI) StateSectorGetInfo(arg0 context.Context, arg1 address.Address, arg2 abi.SectorNumber, arg3 sealing.TipSetToken) (*miner.SectorOnChainInfo, error)
StateSectorGetInfo mocks base method.
func (*MockSealingAPI) StateSectorPartition ¶
func (m *MockSealingAPI) StateSectorPartition(arg0 context.Context, arg1 address.Address, arg2 abi.SectorNumber, arg3 sealing.TipSetToken) (*sealing.SectorLocation, error)
StateSectorPartition mocks base method.
func (*MockSealingAPI) StateSectorPreCommitInfo ¶
func (m *MockSealingAPI) StateSectorPreCommitInfo(arg0 context.Context, arg1 address.Address, arg2 abi.SectorNumber, arg3 sealing.TipSetToken) (*miner.SectorPreCommitOnChainInfo, error)
StateSectorPreCommitInfo mocks base method.
func (*MockSealingAPI) StateWaitMsg ¶
func (m *MockSealingAPI) StateWaitMsg(arg0 context.Context, arg1 cid.Cid) (sealing.MsgLookup, error)
StateWaitMsg mocks base method.
type MockSealingAPIMockRecorder ¶
type MockSealingAPIMockRecorder struct {
// contains filtered or unexported fields
}
MockSealingAPIMockRecorder is the mock recorder for MockSealingAPI.
func (*MockSealingAPIMockRecorder) ChainBaseFee ¶
func (mr *MockSealingAPIMockRecorder) ChainBaseFee(arg0, arg1 interface{}) *gomock.Call
ChainBaseFee indicates an expected call of ChainBaseFee.
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) SendMsg ¶
func (mr *MockSealingAPIMockRecorder) SendMsg(arg0, arg1, arg2, arg3, arg4, arg5, arg6 interface{}) *gomock.Call
SendMsg indicates an expected call of SendMsg.
func (*MockSealingAPIMockRecorder) StateComputeDataCommitment ¶
func (mr *MockSealingAPIMockRecorder) StateComputeDataCommitment(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
StateComputeDataCommitment indicates an expected call of StateComputeDataCommitment.
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) StateMarketStorageDealProposal ¶
func (mr *MockSealingAPIMockRecorder) StateMarketStorageDealProposal(arg0, arg1, arg2 interface{}) *gomock.Call
StateMarketStorageDealProposal indicates an expected call of StateMarketStorageDealProposal.
func (*MockSealingAPIMockRecorder) StateMinerActiveSectors ¶
func (mr *MockSealingAPIMockRecorder) StateMinerActiveSectors(arg0, arg1, arg2 interface{}) *gomock.Call
StateMinerActiveSectors indicates an expected call of StateMinerActiveSectors.
func (*MockSealingAPIMockRecorder) StateMinerAvailableBalance ¶
func (mr *MockSealingAPIMockRecorder) StateMinerAvailableBalance(arg0, arg1, arg2 interface{}) *gomock.Call
StateMinerAvailableBalance indicates an expected call of StateMinerAvailableBalance.
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) StateMinerSectorSize ¶
func (mr *MockSealingAPIMockRecorder) StateMinerSectorSize(arg0, arg1, arg2 interface{}) *gomock.Call
StateMinerSectorSize indicates an expected call of StateMinerSectorSize.
func (*MockSealingAPIMockRecorder) StateMinerWorkerAddress ¶
func (mr *MockSealingAPIMockRecorder) StateMinerWorkerAddress(arg0, arg1, arg2 interface{}) *gomock.Call
StateMinerWorkerAddress indicates an expected call of StateMinerWorkerAddress.
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 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 interface{}) *gomock.Call
StateWaitMsg indicates an expected call of StateWaitMsg.