diff --git a/storage/chunkDataPacks.go b/storage/chunkDataPacks.go index cf5a4bc7046..60d4fe2375d 100644 --- a/storage/chunkDataPacks.go +++ b/storage/chunkDataPacks.go @@ -15,9 +15,6 @@ type ChunkDataPacks interface { // No errors are expected during normal operation, but it may return generic error Remove(cs []flow.Identifier) error - // BatchStore inserts the chunk header, keyed by chunk ID into a given batch - BatchStore(c *flow.ChunkDataPack, batch BatchStorage) error - // ByChunkID returns the chunk data for the given a chunk ID. ByChunkID(chunkID flow.Identifier) (*flow.ChunkDataPack, error) diff --git a/storage/mock/chunk_data_packs.go b/storage/mock/chunk_data_packs.go index 6082d72beff..38607fd48df 100644 --- a/storage/mock/chunk_data_packs.go +++ b/storage/mock/chunk_data_packs.go @@ -28,20 +28,6 @@ func (_m *ChunkDataPacks) BatchRemove(chunkID flow.Identifier, batch storage.Bat return r0 } -// BatchStore provides a mock function with given fields: c, batch -func (_m *ChunkDataPacks) BatchStore(c *flow.ChunkDataPack, batch storage.BatchStorage) error { - ret := _m.Called(c, batch) - - var r0 error - if rf, ok := ret.Get(0).(func(*flow.ChunkDataPack, storage.BatchStorage) error); ok { - r0 = rf(c, batch) - } else { - r0 = ret.Error(0) - } - - return r0 -} - // ByChunkID provides a mock function with given fields: chunkID func (_m *ChunkDataPacks) ByChunkID(chunkID flow.Identifier) (*flow.ChunkDataPack, error) { ret := _m.Called(chunkID)