Documentation ¶
Index ¶
- type ExecutionDataCIDCache
- type ExecutionDataRequester
- func (_m *ExecutionDataRequester) AddOnExecutionDataFetchedConsumer(fn state_synchronization.ExecutionDataReceivedCallback)
- func (_m *ExecutionDataRequester) Done() <-chan struct{}
- func (_m *ExecutionDataRequester) OnBlockFinalized(_a0 *model.Block)
- func (_m *ExecutionDataRequester) Ready() <-chan struct{}
- func (_m *ExecutionDataRequester) Start(_a0 irrecoverable.SignalerContext)
- type ExecutionDataService
- func (_m *ExecutionDataService) Add(ctx context.Context, sd *state_synchronization.ExecutionData) (flow.Identifier, state_synchronization.BlobTree, error)
- func (_m *ExecutionDataService) Done() <-chan struct{}
- func (_m *ExecutionDataService) Get(ctx context.Context, rootID flow.Identifier) (*state_synchronization.ExecutionData, error)
- func (_m *ExecutionDataService) Ready() <-chan struct{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExecutionDataCIDCache ¶
ExecutionDataCIDCache is an autogenerated mock type for the ExecutionDataCIDCache type
func NewExecutionDataCIDCache ¶ added in v0.26.1
func NewExecutionDataCIDCache(t testing.TB) *ExecutionDataCIDCache
NewExecutionDataCIDCache creates a new instance of ExecutionDataCIDCache. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.
func (*ExecutionDataCIDCache) BlobRecords ¶
func (_m *ExecutionDataCIDCache) BlobRecords() uint
BlobRecords provides a mock function with given fields:
func (*ExecutionDataCIDCache) BlobTreeRecords ¶
func (_m *ExecutionDataCIDCache) BlobTreeRecords() uint
BlobTreeRecords provides a mock function with given fields:
func (*ExecutionDataCIDCache) Get ¶
func (_m *ExecutionDataCIDCache) Get(c cid.Cid) (state_synchronization.BlobRecord, error)
Get provides a mock function with given fields: c
func (*ExecutionDataCIDCache) Insert ¶
func (_m *ExecutionDataCIDCache) Insert(header *flow.Header, blobTree state_synchronization.BlobTree)
Insert provides a mock function with given fields: header, blobTree
type ExecutionDataRequester ¶ added in v0.26.2
ExecutionDataRequester is an autogenerated mock type for the ExecutionDataRequester type
func NewExecutionDataRequester ¶ added in v0.26.2
func NewExecutionDataRequester(t testing.TB) *ExecutionDataRequester
NewExecutionDataRequester creates a new instance of ExecutionDataRequester. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.
func (*ExecutionDataRequester) AddOnExecutionDataFetchedConsumer ¶ added in v0.26.2
func (_m *ExecutionDataRequester) AddOnExecutionDataFetchedConsumer(fn state_synchronization.ExecutionDataReceivedCallback)
AddOnExecutionDataFetchedConsumer provides a mock function with given fields: fn
func (*ExecutionDataRequester) Done ¶ added in v0.26.2
func (_m *ExecutionDataRequester) Done() <-chan struct{}
Done provides a mock function with given fields:
func (*ExecutionDataRequester) OnBlockFinalized ¶ added in v0.26.2
func (_m *ExecutionDataRequester) OnBlockFinalized(_a0 *model.Block)
OnBlockFinalized provides a mock function with given fields: _a0
func (*ExecutionDataRequester) Ready ¶ added in v0.26.2
func (_m *ExecutionDataRequester) Ready() <-chan struct{}
Ready provides a mock function with given fields:
func (*ExecutionDataRequester) Start ¶ added in v0.26.2
func (_m *ExecutionDataRequester) Start(_a0 irrecoverable.SignalerContext)
Start provides a mock function with given fields: _a0
type ExecutionDataService ¶
ExecutionDataService is an autogenerated mock type for the ExecutionDataService type
func NewExecutionDataService ¶ added in v0.26.1
func NewExecutionDataService(t testing.TB) *ExecutionDataService
NewExecutionDataService creates a new instance of ExecutionDataService. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.
func (*ExecutionDataService) Add ¶
func (_m *ExecutionDataService) Add(ctx context.Context, sd *state_synchronization.ExecutionData) (flow.Identifier, state_synchronization.BlobTree, error)
Add provides a mock function with given fields: ctx, sd
func (*ExecutionDataService) Done ¶ added in v0.26.2
func (_m *ExecutionDataService) Done() <-chan struct{}
Done provides a mock function with given fields:
func (*ExecutionDataService) Get ¶
func (_m *ExecutionDataService) Get(ctx context.Context, rootID flow.Identifier) (*state_synchronization.ExecutionData, error)
Get provides a mock function with given fields: ctx, rootID
func (*ExecutionDataService) Ready ¶ added in v0.26.2
func (_m *ExecutionDataService) Ready() <-chan struct{}
Ready provides a mock function with given fields: