Documentation ¶
Index ¶
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 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) 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