Documentation ¶
Index ¶
- type BlockTracker
- func (_m *BlockTracker) GetHighestHeight(_a0 flow.BlockStatus) (uint64, error)
- func (_m *BlockTracker) GetStartHeightFromBlockID(_a0 flow.Identifier) (uint64, error)
- func (_m *BlockTracker) GetStartHeightFromHeight(_a0 uint64) (uint64, error)
- func (_m *BlockTracker) GetStartHeightFromLatest(_a0 context.Context) (uint64, error)
- func (_m *BlockTracker) ProcessOnFinalizedBlock() error
- type ExecutionDataTracker
- func (_m *ExecutionDataTracker) GetHighestHeight() uint64
- func (_m *ExecutionDataTracker) GetStartHeight(_a0 context.Context, _a1 flow.Identifier, _a2 uint64) (uint64, error)
- func (_m *ExecutionDataTracker) GetStartHeightFromBlockID(_a0 flow.Identifier) (uint64, error)
- func (_m *ExecutionDataTracker) GetStartHeightFromHeight(_a0 uint64) (uint64, error)
- func (_m *ExecutionDataTracker) GetStartHeightFromLatest(_a0 context.Context) (uint64, error)
- func (_m *ExecutionDataTracker) OnExecutionData(_a0 *execution_data.BlockExecutionDataEntity)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockTracker ¶
BlockTracker is an autogenerated mock type for the BlockTracker type
func NewBlockTracker ¶
func NewBlockTracker(t mockConstructorTestingTNewBlockTracker) *BlockTracker
NewBlockTracker creates a new instance of BlockTracker. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*BlockTracker) GetHighestHeight ¶
func (_m *BlockTracker) GetHighestHeight(_a0 flow.BlockStatus) (uint64, error)
GetHighestHeight provides a mock function with given fields: _a0
func (*BlockTracker) GetStartHeightFromBlockID ¶
func (_m *BlockTracker) GetStartHeightFromBlockID(_a0 flow.Identifier) (uint64, error)
GetStartHeightFromBlockID provides a mock function with given fields: _a0
func (*BlockTracker) GetStartHeightFromHeight ¶
func (_m *BlockTracker) GetStartHeightFromHeight(_a0 uint64) (uint64, error)
GetStartHeightFromHeight provides a mock function with given fields: _a0
func (*BlockTracker) GetStartHeightFromLatest ¶
func (_m *BlockTracker) GetStartHeightFromLatest(_a0 context.Context) (uint64, error)
GetStartHeightFromLatest provides a mock function with given fields: _a0
func (*BlockTracker) ProcessOnFinalizedBlock ¶
func (_m *BlockTracker) ProcessOnFinalizedBlock() error
ProcessOnFinalizedBlock provides a mock function with given fields:
type ExecutionDataTracker ¶
ExecutionDataTracker is an autogenerated mock type for the ExecutionDataTracker type
func NewExecutionDataTracker ¶
func NewExecutionDataTracker(t mockConstructorTestingTNewExecutionDataTracker) *ExecutionDataTracker
NewExecutionDataTracker creates a new instance of ExecutionDataTracker. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ExecutionDataTracker) GetHighestHeight ¶
func (_m *ExecutionDataTracker) GetHighestHeight() uint64
GetHighestHeight provides a mock function with given fields:
func (*ExecutionDataTracker) GetStartHeight ¶
func (_m *ExecutionDataTracker) GetStartHeight(_a0 context.Context, _a1 flow.Identifier, _a2 uint64) (uint64, error)
GetStartHeight provides a mock function with given fields: _a0, _a1, _a2
func (*ExecutionDataTracker) GetStartHeightFromBlockID ¶
func (_m *ExecutionDataTracker) GetStartHeightFromBlockID(_a0 flow.Identifier) (uint64, error)
GetStartHeightFromBlockID provides a mock function with given fields: _a0
func (*ExecutionDataTracker) GetStartHeightFromHeight ¶
func (_m *ExecutionDataTracker) GetStartHeightFromHeight(_a0 uint64) (uint64, error)
GetStartHeightFromHeight provides a mock function with given fields: _a0
func (*ExecutionDataTracker) GetStartHeightFromLatest ¶
func (_m *ExecutionDataTracker) GetStartHeightFromLatest(_a0 context.Context) (uint64, error)
GetStartHeightFromLatest provides a mock function with given fields: _a0
func (*ExecutionDataTracker) OnExecutionData ¶
func (_m *ExecutionDataTracker) OnExecutionData(_a0 *execution_data.BlockExecutionDataEntity)
OnExecutionData provides a mock function with given fields: _a0