Refactor Exported Names to Follow Golang Best Practices (#13075)

* Fix exported names that start with a package name

* A few more renames

* Fix exported names that start with a package name

* A few more renames

* Radek's feedback

* Fix conflict

* fix keymanager test

* Fix comments

---------

Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
This commit is contained in:
terencechain
2023-10-20 09:45:33 -07:00
committed by GitHub
parent 65ce27292c
commit 9387a36b66
146 changed files with 1625 additions and 1625 deletions

View File

@@ -56,7 +56,7 @@ func TestServer_SetVoluntaryExit(t *testing.T) {
km, err := w.InitializeKeymanager(ctx, iface.InitKeymanagerConfig{ListenForChanges: false})
require.NoError(t, err)
m := &mock.MockValidator{Km: km}
m := &mock.Validator{Km: km}
vs, err := client.NewValidatorService(ctx, &client.Config{
Validator: m,
})
@@ -246,7 +246,7 @@ func TestServer_ListRemoteKeys(t *testing.T) {
require.NoError(t, err)
vs, err := client.NewValidatorService(ctx, &client.Config{
Wallet: w,
Validator: &mock.MockValidator{
Validator: &mock.Validator{
Km: km,
},
Web3SignerConfig: config,
@@ -293,7 +293,7 @@ func TestServer_ImportRemoteKeys(t *testing.T) {
require.NoError(t, err)
vs, err := client.NewValidatorService(ctx, &client.Config{
Wallet: w,
Validator: &mock.MockValidator{
Validator: &mock.Validator{
Km: km,
},
Web3SignerConfig: config,
@@ -358,7 +358,7 @@ func TestServer_DeleteRemoteKeys(t *testing.T) {
require.NoError(t, err)
vs, err := client.NewValidatorService(ctx, &client.Config{
Wallet: w,
Validator: &mock.MockValidator{
Validator: &mock.Validator{
Km: km,
},
Web3SignerConfig: config,