Skip to content

Commit

Permalink
apply formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
anatolie-ssv committed Oct 9, 2024
1 parent bea9f9a commit 9e64123
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions operator/validator/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ import (
"github.com/ethereum/go-ethereum/common"
"github.com/jellydator/ttlcache/v3"
"github.com/pkg/errors"
"go.uber.org/zap"

genesisspecqbft "github.com/ssvlabs/ssv-spec-pre-cc/qbft"
genesisspecssv "github.com/ssvlabs/ssv-spec-pre-cc/ssv"
genesisspectypes "github.com/ssvlabs/ssv-spec-pre-cc/types"
specqbft "github.com/ssvlabs/ssv-spec/qbft"
spectypes "github.com/ssvlabs/ssv-spec/types"
"go.uber.org/zap"

"github.com/ssvlabs/ssv/exporter/convert"
"github.com/ssvlabs/ssv/ibft/genesisstorage"
"github.com/ssvlabs/ssv/ibft/storage"
Expand Down
1 change: 0 additions & 1 deletion operator/validators/validators_map.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import (
"sync"

spectypes "github.com/ssvlabs/ssv-spec/types"

"github.com/ssvlabs/ssv/protocol/v2/ssv/validator"
)

Expand Down
11 changes: 6 additions & 5 deletions operator/validators/validators_map_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,14 @@ import (
"testing"

"github.com/attestantio/go-eth2-client/spec/phase0"
"github.com/stretchr/testify/assert"
"go.uber.org/zap"

specssv "github.com/ssvlabs/ssv-spec/ssv"
spectypes "github.com/ssvlabs/ssv-spec/types"
tests2 "github.com/ssvlabs/ssv/integration/qbft/tests"
"github.com/ssvlabs/ssv/integration/qbft/tests"
"github.com/ssvlabs/ssv/operator/validators"
"github.com/ssvlabs/ssv/protocol/v2/ssv/validator"
"github.com/stretchr/testify/assert"
"go.uber.org/zap"
)

func TestUpdateCommitteeAtomic(t *testing.T) {
Expand All @@ -33,7 +34,7 @@ func TestUpdateCommitteeAtomic(t *testing.T) {
ctx,
cancel,
zap.NewNop(),
tests2.NewTestingBeaconNodeWrapped().GetBeaconNetwork(),
tests.NewTestingBeaconNodeWrapped().GetBeaconNetwork(),
&new(specssv.Committee).CommitteeMember, nil,
map[phase0.ValidatorIndex]*spectypes.Share{
0: new(spectypes.Share),
Expand Down Expand Up @@ -63,7 +64,7 @@ func TestUpdateCommitteeAtomic(t *testing.T) {
ctx,
cancel,
zap.NewNop(),
tests2.NewTestingBeaconNodeWrapped().GetBeaconNetwork(),
tests.NewTestingBeaconNodeWrapped().GetBeaconNetwork(),
&new(specssv.Committee).CommitteeMember, nil,
map[phase0.ValidatorIndex]*spectypes.Share{
0: new(spectypes.Share),
Expand Down
4 changes: 2 additions & 2 deletions protocol/v2/ssv/validator/committee.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ import (

"github.com/attestantio/go-eth2-client/spec/phase0"
"github.com/pkg/errors"
"github.com/ssvlabs/ssv-spec/qbft"
spectypes "github.com/ssvlabs/ssv-spec/types"
"go.uber.org/zap"

"github.com/ssvlabs/ssv-spec/qbft"
spectypes "github.com/ssvlabs/ssv-spec/types"
"github.com/ssvlabs/ssv/ibft/storage"
"github.com/ssvlabs/ssv/logging/fields"
"github.com/ssvlabs/ssv/protocol/v2/message"
Expand Down

0 comments on commit 9e64123

Please sign in to comment.