Skip to content

Commit

Permalink
Fix inabox
Browse files Browse the repository at this point in the history
  • Loading branch information
pschork committed Feb 4, 2025
1 parent 678c287 commit 964cf50
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions node/grpc/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ func RunServers(serverV1 *Server, serverV2 *ServerV2, config *node.Config, logge
if config.EnableV2 && serverV2 == nil {
return errors.New("node v2 server is not configured")
}
if !config.EnableV1 && !config.EnableV2 {
return errors.New("node is not configured to run any servers")
}

// V1 dispersal service
go func() {
Expand Down
5 changes: 4 additions & 1 deletion test/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import (
"encoding/hex"
"errors"
"fmt"
"github.com/docker/go-units"
"log"
"math"
"math/big"
Expand All @@ -18,6 +17,8 @@ import (
"testing"
"time"

"github.com/docker/go-units"

"github.com/stretchr/testify/require"

"github.com/Layr-Labs/eigenda/common/pubip"
Expand Down Expand Up @@ -370,6 +371,8 @@ func mustMakeOperators(t *testing.T, cst *coremock.ChainDataMock, logger logging
DispersalAuthenticationKeyCacheSize: 1024,
DisableDispersalAuthentication: false,
RelayMaxMessageSize: units.GiB,
EnableV1: true,
EnableV2: false,
}

// creating a new instance of encoder instead of sharing enc because enc is not thread safe
Expand Down

0 comments on commit 964cf50

Please sign in to comment.