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 ¶ added in v1.11.1
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 ¶ added in v1.11.1
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 ¶ added in v1.11.2
type MockContext struct {
// contains filtered or unexported fields
}
MockContext is a mock of Context interface.
func NewMockContext ¶ added in v1.11.2
func NewMockContext(ctrl *gomock.Controller) *MockContext
NewMockContext creates a new mock instance.
func (*MockContext) Context ¶ added in v1.11.2
func (m *MockContext) Context() context.Context
Context mocks base method.
func (*MockContext) EXPECT ¶ added in v1.11.2
func (m *MockContext) EXPECT() *MockContextMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockContext) Send ¶ added in v1.11.2
func (m *MockContext) Send(arg0 interface{}) error
Send mocks base method.
type MockContextMockRecorder ¶ added in v1.11.2
type MockContextMockRecorder struct {
// contains filtered or unexported fields
}
MockContextMockRecorder is the mock recorder for MockContext.
func (*MockContextMockRecorder) Context ¶ added in v1.11.2
func (mr *MockContextMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context.
func (*MockContextMockRecorder) Send ¶ added in v1.11.2
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 ¶ added in v1.12.0
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 ¶ added in v1.11.1
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 ¶ added in v1.12.0
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 ¶ added in v1.12.0
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 ¶ added in v1.11.1
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 ¶ added in v1.12.0
func (mr *MockPreCommitBatcherApiMockRecorder) StateNetworkVersion(arg0, arg1 interface{}) *gomock.Call
StateNetworkVersion indicates an expected call of StateNetworkVersion.
type MockSealingAPI ¶ added in v1.11.2
type MockSealingAPI struct {
// contains filtered or unexported fields
}
MockSealingAPI is a mock of SealingAPI interface.
func NewMockSealingAPI ¶ added in v1.11.2
func NewMockSealingAPI(ctrl *gomock.Controller) *MockSealingAPI
NewMockSealingAPI creates a new mock instance.
func (*MockSealingAPI) ChainBaseFee ¶ added in v1.11.2
func (m *MockSealingAPI) ChainBaseFee(arg0 context.Context, arg1 sealing.TipSetToken) (big.Int, error)
ChainBaseFee mocks base method.
func (*MockSealingAPI) ChainGetMessage ¶ added in v1.11.2
func (m *MockSealingAPI) ChainGetMessage(arg0 context.Context, arg1 cid.Cid) (*types.Message, error)
ChainGetMessage mocks base method.
func (*MockSealingAPI) ChainHead ¶ added in v1.11.2
func (m *MockSealingAPI) ChainHead(arg0 context.Context) (sealing.TipSetToken, abi.ChainEpoch, error)
ChainHead mocks base method.
func (*MockSealingAPI) ChainReadObj ¶ added in v1.11.2
ChainReadObj mocks base method.
func (*MockSealingAPI) EXPECT ¶ added in v1.11.2
func (m *MockSealingAPI) EXPECT() *MockSealingAPIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSealingAPI) SendMsg ¶ added in v1.11.2
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 ¶ added in v1.11.2
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 ¶ added in v1.12.0
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 ¶ added in v1.12.0
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 ¶ added in v1.11.2
func (m *MockSealingAPI) StateLookupID(arg0 context.Context, arg1 address.Address, arg2 sealing.TipSetToken) (address.Address, error)
StateLookupID mocks base method.
func (*MockSealingAPI) StateMarketStorageDeal ¶ added in v1.11.2
func (m *MockSealingAPI) StateMarketStorageDeal(arg0 context.Context, arg1 abi.DealID, arg2 sealing.TipSetToken) (*api.MarketDeal, error)
StateMarketStorageDeal mocks base method.
func (*MockSealingAPI) StateMarketStorageDealProposal ¶ added in v1.11.2
func (m *MockSealingAPI) StateMarketStorageDealProposal(arg0 context.Context, arg1 abi.DealID, arg2 sealing.TipSetToken) (market.DealProposal, error)
StateMarketStorageDealProposal mocks base method.
func (*MockSealingAPI) StateMinerActiveSectors ¶ added in v1.14.0
func (m *MockSealingAPI) StateMinerActiveSectors(arg0 context.Context, arg1 address.Address, arg2 sealing.TipSetToken) (bitfield.BitField, error)
StateMinerActiveSectors mocks base method.
func (*MockSealingAPI) StateMinerAvailableBalance ¶ added in v1.11.2
func (m *MockSealingAPI) StateMinerAvailableBalance(arg0 context.Context, arg1 address.Address, arg2 sealing.TipSetToken) (big.Int, error)
StateMinerAvailableBalance mocks base method.
func (*MockSealingAPI) StateMinerInfo ¶ added in v1.11.2
func (m *MockSealingAPI) StateMinerInfo(arg0 context.Context, arg1 address.Address, arg2 sealing.TipSetToken) (api.MinerInfo, error)
StateMinerInfo mocks base method.
func (*MockSealingAPI) StateMinerInitialPledgeCollateral ¶ added in v1.11.2
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 ¶ added in v1.11.2
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 ¶ added in v1.11.2
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 ¶ added in v1.11.2
func (m *MockSealingAPI) StateMinerProvingDeadline(arg0 context.Context, arg1 address.Address, arg2 sealing.TipSetToken) (*dline.Info, error)
StateMinerProvingDeadline mocks base method.
func (*MockSealingAPI) StateMinerSectorAllocated ¶ added in v1.11.2
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 ¶ added in v1.11.2
func (m *MockSealingAPI) StateMinerSectorSize(arg0 context.Context, arg1 address.Address, arg2 sealing.TipSetToken) (abi.SectorSize, error)
StateMinerSectorSize mocks base method.
func (*MockSealingAPI) StateMinerWorkerAddress ¶ added in v1.11.2
func (m *MockSealingAPI) StateMinerWorkerAddress(arg0 context.Context, arg1 address.Address, arg2 sealing.TipSetToken) (address.Address, error)
StateMinerWorkerAddress mocks base method.
func (*MockSealingAPI) StateNetworkVersion ¶ added in v1.11.2
func (m *MockSealingAPI) StateNetworkVersion(arg0 context.Context, arg1 sealing.TipSetToken) (network.Version, error)
StateNetworkVersion mocks base method.
func (*MockSealingAPI) StateSearchMsg ¶ added in v1.11.2
func (m *MockSealingAPI) StateSearchMsg(arg0 context.Context, arg1 cid.Cid) (*sealing.MsgLookup, error)
StateSearchMsg mocks base method.
func (*MockSealingAPI) StateSectorGetInfo ¶ added in v1.11.2
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 ¶ added in v1.11.2
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 ¶ added in v1.11.2
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 ¶ added in v1.11.2
func (m *MockSealingAPI) StateWaitMsg(arg0 context.Context, arg1 cid.Cid) (sealing.MsgLookup, error)
StateWaitMsg mocks base method.
type MockSealingAPIMockRecorder ¶ added in v1.11.2
type MockSealingAPIMockRecorder struct {
// contains filtered or unexported fields
}
MockSealingAPIMockRecorder is the mock recorder for MockSealingAPI.
func (*MockSealingAPIMockRecorder) ChainBaseFee ¶ added in v1.11.2
func (mr *MockSealingAPIMockRecorder) ChainBaseFee(arg0, arg1 interface{}) *gomock.Call
ChainBaseFee indicates an expected call of ChainBaseFee.
func (*MockSealingAPIMockRecorder) ChainGetMessage ¶ added in v1.11.2
func (mr *MockSealingAPIMockRecorder) ChainGetMessage(arg0, arg1 interface{}) *gomock.Call
ChainGetMessage indicates an expected call of ChainGetMessage.
func (*MockSealingAPIMockRecorder) ChainHead ¶ added in v1.11.2
func (mr *MockSealingAPIMockRecorder) ChainHead(arg0 interface{}) *gomock.Call
ChainHead indicates an expected call of ChainHead.
func (*MockSealingAPIMockRecorder) ChainReadObj ¶ added in v1.11.2
func (mr *MockSealingAPIMockRecorder) ChainReadObj(arg0, arg1 interface{}) *gomock.Call
ChainReadObj indicates an expected call of ChainReadObj.
func (*MockSealingAPIMockRecorder) SendMsg ¶ added in v1.11.2
func (mr *MockSealingAPIMockRecorder) SendMsg(arg0, arg1, arg2, arg3, arg4, arg5, arg6 interface{}) *gomock.Call
SendMsg indicates an expected call of SendMsg.
func (*MockSealingAPIMockRecorder) StateComputeDataCommitment ¶ added in v1.11.2
func (mr *MockSealingAPIMockRecorder) StateComputeDataCommitment(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
StateComputeDataCommitment indicates an expected call of StateComputeDataCommitment.
func (*MockSealingAPIMockRecorder) StateGetRandomnessFromBeacon ¶ added in v1.12.0
func (mr *MockSealingAPIMockRecorder) StateGetRandomnessFromBeacon(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
StateGetRandomnessFromBeacon indicates an expected call of StateGetRandomnessFromBeacon.
func (*MockSealingAPIMockRecorder) StateGetRandomnessFromTickets ¶ added in v1.12.0
func (mr *MockSealingAPIMockRecorder) StateGetRandomnessFromTickets(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
StateGetRandomnessFromTickets indicates an expected call of StateGetRandomnessFromTickets.
func (*MockSealingAPIMockRecorder) StateLookupID ¶ added in v1.11.2
func (mr *MockSealingAPIMockRecorder) StateLookupID(arg0, arg1, arg2 interface{}) *gomock.Call
StateLookupID indicates an expected call of StateLookupID.
func (*MockSealingAPIMockRecorder) StateMarketStorageDeal ¶ added in v1.11.2
func (mr *MockSealingAPIMockRecorder) StateMarketStorageDeal(arg0, arg1, arg2 interface{}) *gomock.Call
StateMarketStorageDeal indicates an expected call of StateMarketStorageDeal.
func (*MockSealingAPIMockRecorder) StateMarketStorageDealProposal ¶ added in v1.11.2
func (mr *MockSealingAPIMockRecorder) StateMarketStorageDealProposal(arg0, arg1, arg2 interface{}) *gomock.Call
StateMarketStorageDealProposal indicates an expected call of StateMarketStorageDealProposal.
func (*MockSealingAPIMockRecorder) StateMinerActiveSectors ¶ added in v1.14.0
func (mr *MockSealingAPIMockRecorder) StateMinerActiveSectors(arg0, arg1, arg2 interface{}) *gomock.Call
StateMinerActiveSectors indicates an expected call of StateMinerActiveSectors.
func (*MockSealingAPIMockRecorder) StateMinerAvailableBalance ¶ added in v1.11.2
func (mr *MockSealingAPIMockRecorder) StateMinerAvailableBalance(arg0, arg1, arg2 interface{}) *gomock.Call
StateMinerAvailableBalance indicates an expected call of StateMinerAvailableBalance.
func (*MockSealingAPIMockRecorder) StateMinerInfo ¶ added in v1.11.2
func (mr *MockSealingAPIMockRecorder) StateMinerInfo(arg0, arg1, arg2 interface{}) *gomock.Call
StateMinerInfo indicates an expected call of StateMinerInfo.
func (*MockSealingAPIMockRecorder) StateMinerInitialPledgeCollateral ¶ added in v1.11.2
func (mr *MockSealingAPIMockRecorder) StateMinerInitialPledgeCollateral(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
StateMinerInitialPledgeCollateral indicates an expected call of StateMinerInitialPledgeCollateral.
func (*MockSealingAPIMockRecorder) StateMinerPartitions ¶ added in v1.11.2
func (mr *MockSealingAPIMockRecorder) StateMinerPartitions(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
StateMinerPartitions indicates an expected call of StateMinerPartitions.
func (*MockSealingAPIMockRecorder) StateMinerPreCommitDepositForPower ¶ added in v1.11.2
func (mr *MockSealingAPIMockRecorder) StateMinerPreCommitDepositForPower(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
StateMinerPreCommitDepositForPower indicates an expected call of StateMinerPreCommitDepositForPower.
func (*MockSealingAPIMockRecorder) StateMinerProvingDeadline ¶ added in v1.11.2
func (mr *MockSealingAPIMockRecorder) StateMinerProvingDeadline(arg0, arg1, arg2 interface{}) *gomock.Call
StateMinerProvingDeadline indicates an expected call of StateMinerProvingDeadline.
func (*MockSealingAPIMockRecorder) StateMinerSectorAllocated ¶ added in v1.11.2
func (mr *MockSealingAPIMockRecorder) StateMinerSectorAllocated(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
StateMinerSectorAllocated indicates an expected call of StateMinerSectorAllocated.
func (*MockSealingAPIMockRecorder) StateMinerSectorSize ¶ added in v1.11.2
func (mr *MockSealingAPIMockRecorder) StateMinerSectorSize(arg0, arg1, arg2 interface{}) *gomock.Call
StateMinerSectorSize indicates an expected call of StateMinerSectorSize.
func (*MockSealingAPIMockRecorder) StateMinerWorkerAddress ¶ added in v1.11.2
func (mr *MockSealingAPIMockRecorder) StateMinerWorkerAddress(arg0, arg1, arg2 interface{}) *gomock.Call
StateMinerWorkerAddress indicates an expected call of StateMinerWorkerAddress.
func (*MockSealingAPIMockRecorder) StateNetworkVersion ¶ added in v1.11.2
func (mr *MockSealingAPIMockRecorder) StateNetworkVersion(arg0, arg1 interface{}) *gomock.Call
StateNetworkVersion indicates an expected call of StateNetworkVersion.
func (*MockSealingAPIMockRecorder) StateSearchMsg ¶ added in v1.11.2
func (mr *MockSealingAPIMockRecorder) StateSearchMsg(arg0, arg1 interface{}) *gomock.Call
StateSearchMsg indicates an expected call of StateSearchMsg.
func (*MockSealingAPIMockRecorder) StateSectorGetInfo ¶ added in v1.11.2
func (mr *MockSealingAPIMockRecorder) StateSectorGetInfo(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
StateSectorGetInfo indicates an expected call of StateSectorGetInfo.
func (*MockSealingAPIMockRecorder) StateSectorPartition ¶ added in v1.11.2
func (mr *MockSealingAPIMockRecorder) StateSectorPartition(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
StateSectorPartition indicates an expected call of StateSectorPartition.
func (*MockSealingAPIMockRecorder) StateSectorPreCommitInfo ¶ added in v1.11.2
func (mr *MockSealingAPIMockRecorder) StateSectorPreCommitInfo(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
StateSectorPreCommitInfo indicates an expected call of StateSectorPreCommitInfo.
func (*MockSealingAPIMockRecorder) StateWaitMsg ¶ added in v1.11.2
func (mr *MockSealingAPIMockRecorder) StateWaitMsg(arg0, arg1 interface{}) *gomock.Call
StateWaitMsg indicates an expected call of StateWaitMsg.