From a4d53cc53eaab10a7548a4d95c92c2d000f5ff55 Mon Sep 17 00:00:00 2001 From: Hieu Vu <72878483+hieuvubk@users.noreply.github.com> Date: Wed, 15 Nov 2023 15:37:07 +0700 Subject: [PATCH] fix build --- store/pruning/mock/db_mock.go | 7 ------- testutil/mock/tendermint_tm_db_DB.go | 7 ------- 2 files changed, 14 deletions(-) diff --git a/store/pruning/mock/db_mock.go b/store/pruning/mock/db_mock.go index 4afc86785a97..43ec8132077f 100644 --- a/store/pruning/mock/db_mock.go +++ b/store/pruning/mock/db_mock.go @@ -427,10 +427,3 @@ func (mr *MockIteratorMockRecorder) Value() *gomock.Call { return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Value", reflect.TypeOf((*MockIterator)(nil).Value)) } -// NewBatchWithSize mocks base method. -func (m *MockDB) NewBatchWithSize(arg0 int) db.Batch { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "NewBatchWithSize", arg0) - ret0, _ := ret[0].(db.Batch) - return ret0 -} diff --git a/testutil/mock/tendermint_tm_db_DB.go b/testutil/mock/tendermint_tm_db_DB.go index 9dc68d8bd5b6..5c30b845ce59 100644 --- a/testutil/mock/tendermint_tm_db_DB.go +++ b/testutil/mock/tendermint_tm_db_DB.go @@ -214,10 +214,3 @@ func (mr *MockDBMockRecorder) Stats() *gomock.Call { return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Stats", reflect.TypeOf((*MockDB)(nil).Stats)) } -// NewBatchWithSize mocks base method. -func (m *MockDB) NewBatchWithSize(arg0 int) db.Batch { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "NewBatchWithSize", arg0) - ret0, _ := ret[0].(db.Batch) - return ret0 -}