mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-09 23:48:06 -05:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user