Skip to content

Commit

Permalink
Cleanup part 3
Browse files Browse the repository at this point in the history
  • Loading branch information
rkapka committed Feb 7, 2024
1 parent 88ee17d commit 8e36291
Show file tree
Hide file tree
Showing 57 changed files with 870 additions and 861 deletions.
8 changes: 4 additions & 4 deletions cmd/validator/accounts/exit_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ func TestExitAccountsCli_OK(t *testing.T) {
require.NotNil(t, formattedPubKeys)

cfg := accounts.PerformExitCfg{
ValidatorClient: mockValidatorClient,
Coordinator: mockValidatorClient,
NodeClient: mockNodeClient,
Keymanager: km,
RawPubKeys: rawPubKeys,
Expand Down Expand Up @@ -199,7 +199,7 @@ func TestExitAccountsCli_OK_AllPublicKeys(t *testing.T) {
require.NotNil(t, formattedPubKeys)

cfg := accounts.PerformExitCfg{
ValidatorClient: mockValidatorClient,
Coordinator: mockValidatorClient,
NodeClient: mockNodeClient,
Keymanager: km,
RawPubKeys: rawPubKeys,
Expand Down Expand Up @@ -294,7 +294,7 @@ func TestExitAccountsCli_OK_ForceExit(t *testing.T) {
require.NotNil(t, formattedPubKeys)

cfg := accounts.PerformExitCfg{
ValidatorClient: mockValidatorClient,
Coordinator: mockValidatorClient,
NodeClient: mockNodeClient,
Keymanager: km,
RawPubKeys: rawPubKeys,
Expand Down Expand Up @@ -381,7 +381,7 @@ func TestExitAccountsCli_WriteJSON_NoBroadcast(t *testing.T) {
out := path.Join(bazel.TestTmpDir(), "exits")

cfg := accounts.PerformExitCfg{
ValidatorClient: mockValidatorClient,
Coordinator: mockValidatorClient,
NodeClient: mockNodeClient,
Keymanager: km,
RawPubKeys: rawPubKeys,
Expand Down
4 changes: 2 additions & 2 deletions testing/validator-mock/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ package(default_testonly = True)
go_library(
name = "go_default_library",
srcs = [
"beacon_chain_client_mock.go",
"chain_client_mock.go",
"node_client_mock.go",
"prysm_beacon_chain_client_mock.go",
"prysm_chain_client_mock.go",
"validator_client_mock.go",
],
importpath = "github.com/prysmaticlabs/prysm/v4/testing/validator-mock",
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

52 changes: 0 additions & 52 deletions testing/validator-mock/prysm_beacon_chain_client_mock.go

This file was deleted.

52 changes: 52 additions & 0 deletions testing/validator-mock/prysm_chain_client_mock.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 8e36291

Please sign in to comment.