Skip to content

Commit

Permalink
fix TestHandshakeTestData
Browse files Browse the repository at this point in the history
  • Loading branch information
nkryuchkov committed Oct 22, 2024
1 parent a7adcc0 commit 64a0be6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion network/peers/connections/helpers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import (
"github.com/libp2p/go-libp2p/core/peer"
"github.com/stretchr/testify/require"

"github.com/ssvlabs/ssv/network/commons"
"github.com/ssvlabs/ssv/network/peers"
"github.com/ssvlabs/ssv/network/peers/connections/mock"
"github.com/ssvlabs/ssv/network/records"
Expand Down Expand Up @@ -60,7 +61,7 @@ func getTestingData(t *testing.T) TestData {
NodeVersion: "test-node-version",
ExecutionNode: "test-execution-node",
ConsensusNode: "test-consensus-node",
Subnets: strings.Repeat("0", 32),
Subnets: strings.Repeat("1", 32),
},
},
MockSelfSealed: []byte("something"),
Expand Down Expand Up @@ -93,6 +94,7 @@ func getTestingData(t *testing.T) TestData {
ctx: context.Background(),
nodeInfos: nii,
peerInfos: ns,
subnetsIdx: peers.NewSubnetsIndex(commons.Subnets()),
ids: ids,
net: net,
streams: sc,
Expand Down

0 comments on commit 64a0be6

Please sign in to comment.