From ce32453c7b7e2f09954597d0750843ec9da2c8a9 Mon Sep 17 00:00:00 2001 From: Patrice Vignola Date: Wed, 15 Mar 2023 06:12:34 -0700 Subject: [PATCH] Remove unused beacon chain altair mocks (#12095) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Radosław Kapka --- testing/mock/BUILD.bazel | 2 -- .../mock/beacon_chain_altair_client_mock.go | 32 ------------------- .../mock/beacon_chain_altair_service_mock.go | 32 ------------------- 3 files changed, 66 deletions(-) delete mode 100644 testing/mock/beacon_chain_altair_client_mock.go delete mode 100644 testing/mock/beacon_chain_altair_service_mock.go diff --git a/testing/mock/BUILD.bazel b/testing/mock/BUILD.bazel index c9045a7a7..ecf2a3df6 100644 --- a/testing/mock/BUILD.bazel +++ b/testing/mock/BUILD.bazel @@ -7,8 +7,6 @@ go_library( srcs = [ "beacon_altair_validator_client_mock.go", "beacon_altair_validator_server_mock.go", - "beacon_chain_altair_client_mock.go", - "beacon_chain_altair_service_mock.go", "beacon_chain_service_mock.go", "beacon_service_mock.go", "beacon_validator_client_mock.go", diff --git a/testing/mock/beacon_chain_altair_client_mock.go b/testing/mock/beacon_chain_altair_client_mock.go deleted file mode 100644 index dcbedb077..000000000 --- a/testing/mock/beacon_chain_altair_client_mock.go +++ /dev/null @@ -1,32 +0,0 @@ -// Code generated by MockGen. DO NOT EDIT. -// Source: github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1 (interfaces: BeaconChainAltairClient) - -// Package mock is a generated GoMock package. -package mock - -import ( - gomock "github.com/golang/mock/gomock" -) - -// MockBeaconChainAltairClient is a mock of BeaconChainAltairClient interface -type MockBeaconChainAltairClient struct { - ctrl *gomock.Controller - recorder *MockBeaconChainAltairClientMockRecorder -} - -// MockBeaconChainAltairClientMockRecorder is the mock recorder for MockBeaconChainAltairClient -type MockBeaconChainAltairClientMockRecorder struct { - mock *MockBeaconChainAltairClient -} - -// NewMockBeaconChainAltairClient creates a new mock instance -func NewMockBeaconChainAltairClient(ctrl *gomock.Controller) *MockBeaconChainAltairClient { - mock := &MockBeaconChainAltairClient{ctrl: ctrl} - mock.recorder = &MockBeaconChainAltairClientMockRecorder{mock} - return mock -} - -// EXPECT returns an object that allows the caller to indicate expected use -func (m *MockBeaconChainAltairClient) EXPECT() *MockBeaconChainAltairClientMockRecorder { - return m.recorder -} diff --git a/testing/mock/beacon_chain_altair_service_mock.go b/testing/mock/beacon_chain_altair_service_mock.go deleted file mode 100644 index 07c8219ac..000000000 --- a/testing/mock/beacon_chain_altair_service_mock.go +++ /dev/null @@ -1,32 +0,0 @@ -// Code generated by MockGen. DO NOT EDIT. -// Source: github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1 (interfaces: BeaconChainAltairServer) - -// Package mock is a generated GoMock package. -package mock - -import ( - gomock "github.com/golang/mock/gomock" -) - -// MockBeaconChainAltairServer is a mock of BeaconChainAltairServer interface -type MockBeaconChainAltairServer struct { - ctrl *gomock.Controller - recorder *MockBeaconChainAltairServerMockRecorder -} - -// MockBeaconChainAltairServerMockRecorder is the mock recorder for MockBeaconChainAltairServer -type MockBeaconChainAltairServerMockRecorder struct { - mock *MockBeaconChainAltairServer -} - -// NewMockBeaconChainAltairServer creates a new mock instance -func NewMockBeaconChainAltairServer(ctrl *gomock.Controller) *MockBeaconChainAltairServer { - mock := &MockBeaconChainAltairServer{ctrl: ctrl} - mock.recorder = &MockBeaconChainAltairServerMockRecorder{mock} - return mock -} - -// EXPECT returns an object that allows the caller to indicate expected use -func (m *MockBeaconChainAltairServer) EXPECT() *MockBeaconChainAltairServerMockRecorder { - return m.recorder -}