Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
Signed-off-by: Cody Littley <cody@eigenlabs.org>
  • Loading branch information
cody-littley committed Jan 28, 2025
1 parent 235968d commit 351f47a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions node/grpc/server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package grpc_test
import (
"context"
"fmt"
"github.com/docker/go-units"
"net"
"os"
"runtime"
Expand Down Expand Up @@ -88,6 +89,7 @@ func makeConfig(t *testing.T) *node.Config {
NumBatchValidators: runtime.GOMAXPROCS(0),
EnableV2: false,
DisableDispersalAuthentication: true,
RelayMaxMessageSize: units.GiB,
}
}

Expand Down
2 changes: 2 additions & 0 deletions node/node_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package node_test
import (
"context"
"errors"
"github.com/docker/go-units"
"os"
"runtime"
"testing"
Expand Down Expand Up @@ -56,6 +57,7 @@ func newComponents(t *testing.T, operatorID [32]byte) *components {
EnableNodeApi: false,
EnableMetrics: false,
RegisterNodeAtStart: false,
RelayMaxMessageSize: units.GiB,
}
loggerConfig := common.DefaultLoggerConfig()
logger, err := common.NewLogger(loggerConfig)
Expand Down
2 changes: 2 additions & 0 deletions test/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import (
"encoding/hex"
"errors"
"fmt"
"github.com/docker/go-units"
"log"
"math"
"math/big"
Expand Down Expand Up @@ -367,6 +368,7 @@ func mustMakeOperators(t *testing.T, cst *coremock.ChainDataMock, logger logging
QuorumIDList: registeredQuorums,
DispersalAuthenticationKeyCacheSize: 1024,
DisableDispersalAuthentication: false,
RelayMaxMessageSize: units.GiB,
}

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

0 comments on commit 351f47a

Please sign in to comment.