Skip to content

Commit

Permalink
Rename "node" to "validator" for v2 protobufs. (#1125)
Browse files Browse the repository at this point in the history
Signed-off-by: Cody Littley <cody@eigenlabs.org>
  • Loading branch information
cody-littley authored Jan 28, 2025
1 parent c27d274 commit 89b42a2
Show file tree
Hide file tree
Showing 19 changed files with 729 additions and 735 deletions.
4 changes: 2 additions & 2 deletions api/clients/mock/static_request_signer.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"
"crypto/ecdsa"
"github.com/Layr-Labs/eigenda/api/clients/v2"
v2 "github.com/Layr-Labs/eigenda/api/grpc/node/v2"
"github.com/Layr-Labs/eigenda/api/grpc/validator"
"github.com/Layr-Labs/eigenda/node/auth"
)

Expand All @@ -24,7 +24,7 @@ func NewStaticRequestSigner(key *ecdsa.PrivateKey) clients.DispersalRequestSigne

func (s *staticRequestSigner) SignStoreChunksRequest(
ctx context.Context,
request *v2.StoreChunksRequest) ([]byte, error) {
request *validator.StoreChunksRequest) ([]byte, error) {

return auth.SignStoreChunksRequest(s.key, request)
}
2 changes: 1 addition & 1 deletion api/clients/v2/dispersal_request_signer.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"crypto/ecdsa"
"fmt"

grpc "github.com/Layr-Labs/eigenda/api/grpc/node/v2"
grpc "github.com/Layr-Labs/eigenda/api/grpc/validator"
"github.com/Layr-Labs/eigenda/api/hashing"
aws2 "github.com/Layr-Labs/eigenda/common/aws"
"github.com/aws/aws-sdk-go-v2/aws"
Expand Down
2 changes: 1 addition & 1 deletion api/clients/v2/node_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"sync"

commonpb "github.com/Layr-Labs/eigenda/api/grpc/common/v2"
nodegrpc "github.com/Layr-Labs/eigenda/api/grpc/node/v2"
nodegrpc "github.com/Layr-Labs/eigenda/api/grpc/validator"
"github.com/Layr-Labs/eigenda/core"
corev2 "github.com/Layr-Labs/eigenda/core/v2"
"google.golang.org/grpc"
Expand Down
2 changes: 1 addition & 1 deletion api/clients/v2/retrieval_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"fmt"

"github.com/Layr-Labs/eigenda/api/clients"
grpcnode "github.com/Layr-Labs/eigenda/api/grpc/node/v2"
grpcnode "github.com/Layr-Labs/eigenda/api/grpc/validator"
"github.com/Layr-Labs/eigenda/core"
corev2 "github.com/Layr-Labs/eigenda/core/v2"
"github.com/Layr-Labs/eigenda/encoding"
Expand Down
7 changes: 0 additions & 7 deletions api/docs/README.md

This file was deleted.

Loading

0 comments on commit 89b42a2

Please sign in to comment.