Documentation ¶
Index ¶
- type AssignmentCollector
- func (_m *AssignmentCollector) Block() *flow.Header
- func (_m *AssignmentCollector) BlockID() flow.Identifier
- func (_m *AssignmentCollector) ChangeProcessingStatus(expectedValue approvals.ProcessingStatus, newValue approvals.ProcessingStatus) error
- func (_m *AssignmentCollector) CheckEmergencySealing(observer consensus.SealingObservation, finalizedBlockHeight uint64) error
- func (_m *AssignmentCollector) ProcessApproval(approval *flow.ResultApproval) error
- func (_m *AssignmentCollector) ProcessIncorporatedResult(incorporatedResult *flow.IncorporatedResult) error
- func (_m *AssignmentCollector) ProcessingStatus() approvals.ProcessingStatus
- func (_m *AssignmentCollector) RequestMissingApprovals(observer consensus.SealingObservation, maxHeightForRequesting uint64) (uint, error)
- func (_m *AssignmentCollector) Result() *flow.ExecutionResult
- func (_m *AssignmentCollector) ResultID() flow.Identifier
- type AssignmentCollectorState
- func (_m *AssignmentCollectorState) Block() *flow.Header
- func (_m *AssignmentCollectorState) BlockID() flow.Identifier
- func (_m *AssignmentCollectorState) CheckEmergencySealing(observer consensus.SealingObservation, finalizedBlockHeight uint64) error
- func (_m *AssignmentCollectorState) ProcessApproval(approval *flow.ResultApproval) error
- func (_m *AssignmentCollectorState) ProcessIncorporatedResult(incorporatedResult *flow.IncorporatedResult) error
- func (_m *AssignmentCollectorState) ProcessingStatus() approvals.ProcessingStatus
- func (_m *AssignmentCollectorState) RequestMissingApprovals(observer consensus.SealingObservation, maxHeightForRequesting uint64) (uint, error)
- func (_m *AssignmentCollectorState) Result() *flow.ExecutionResult
- func (_m *AssignmentCollectorState) ResultID() flow.Identifier
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssignmentCollector ¶
AssignmentCollector is an autogenerated mock type for the AssignmentCollector type
func NewAssignmentCollector ¶ added in v0.26.1
func NewAssignmentCollector(t mockConstructorTestingTNewAssignmentCollector) *AssignmentCollector
NewAssignmentCollector creates a new instance of AssignmentCollector. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*AssignmentCollector) Block ¶
func (_m *AssignmentCollector) Block() *flow.Header
Block provides a mock function with given fields:
func (*AssignmentCollector) BlockID ¶
func (_m *AssignmentCollector) BlockID() flow.Identifier
BlockID provides a mock function with given fields:
func (*AssignmentCollector) ChangeProcessingStatus ¶
func (_m *AssignmentCollector) ChangeProcessingStatus(expectedValue approvals.ProcessingStatus, newValue approvals.ProcessingStatus) error
ChangeProcessingStatus provides a mock function with given fields: expectedValue, newValue
func (*AssignmentCollector) CheckEmergencySealing ¶
func (_m *AssignmentCollector) CheckEmergencySealing(observer consensus.SealingObservation, finalizedBlockHeight uint64) error
CheckEmergencySealing provides a mock function with given fields: observer, finalizedBlockHeight
func (*AssignmentCollector) ProcessApproval ¶
func (_m *AssignmentCollector) ProcessApproval(approval *flow.ResultApproval) error
ProcessApproval provides a mock function with given fields: approval
func (*AssignmentCollector) ProcessIncorporatedResult ¶
func (_m *AssignmentCollector) ProcessIncorporatedResult(incorporatedResult *flow.IncorporatedResult) error
ProcessIncorporatedResult provides a mock function with given fields: incorporatedResult
func (*AssignmentCollector) ProcessingStatus ¶
func (_m *AssignmentCollector) ProcessingStatus() approvals.ProcessingStatus
ProcessingStatus provides a mock function with given fields:
func (*AssignmentCollector) RequestMissingApprovals ¶
func (_m *AssignmentCollector) RequestMissingApprovals(observer consensus.SealingObservation, maxHeightForRequesting uint64) (uint, error)
RequestMissingApprovals provides a mock function with given fields: observer, maxHeightForRequesting
func (*AssignmentCollector) Result ¶
func (_m *AssignmentCollector) Result() *flow.ExecutionResult
Result provides a mock function with given fields:
func (*AssignmentCollector) ResultID ¶
func (_m *AssignmentCollector) ResultID() flow.Identifier
ResultID provides a mock function with given fields:
type AssignmentCollectorState ¶
AssignmentCollectorState is an autogenerated mock type for the AssignmentCollectorState type
func NewAssignmentCollectorState ¶ added in v0.26.1
func NewAssignmentCollectorState(t mockConstructorTestingTNewAssignmentCollectorState) *AssignmentCollectorState
NewAssignmentCollectorState creates a new instance of AssignmentCollectorState. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*AssignmentCollectorState) Block ¶
func (_m *AssignmentCollectorState) Block() *flow.Header
Block provides a mock function with given fields:
func (*AssignmentCollectorState) BlockID ¶
func (_m *AssignmentCollectorState) BlockID() flow.Identifier
BlockID provides a mock function with given fields:
func (*AssignmentCollectorState) CheckEmergencySealing ¶
func (_m *AssignmentCollectorState) CheckEmergencySealing(observer consensus.SealingObservation, finalizedBlockHeight uint64) error
CheckEmergencySealing provides a mock function with given fields: observer, finalizedBlockHeight
func (*AssignmentCollectorState) ProcessApproval ¶
func (_m *AssignmentCollectorState) ProcessApproval(approval *flow.ResultApproval) error
ProcessApproval provides a mock function with given fields: approval
func (*AssignmentCollectorState) ProcessIncorporatedResult ¶
func (_m *AssignmentCollectorState) ProcessIncorporatedResult(incorporatedResult *flow.IncorporatedResult) error
ProcessIncorporatedResult provides a mock function with given fields: incorporatedResult
func (*AssignmentCollectorState) ProcessingStatus ¶
func (_m *AssignmentCollectorState) ProcessingStatus() approvals.ProcessingStatus
ProcessingStatus provides a mock function with given fields:
func (*AssignmentCollectorState) RequestMissingApprovals ¶
func (_m *AssignmentCollectorState) RequestMissingApprovals(observer consensus.SealingObservation, maxHeightForRequesting uint64) (uint, error)
RequestMissingApprovals provides a mock function with given fields: observer, maxHeightForRequesting
func (*AssignmentCollectorState) Result ¶
func (_m *AssignmentCollectorState) Result() *flow.ExecutionResult
Result provides a mock function with given fields:
func (*AssignmentCollectorState) ResultID ¶
func (_m *AssignmentCollectorState) ResultID() flow.Identifier
ResultID provides a mock function with given fields: