diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go index 96d4a74e64..21733c1bf7 100644 --- a/cmd/utils/flags.go +++ b/cmd/utils/flags.go @@ -57,7 +57,7 @@ import ( "github.com/ethereum/go-ethereum/ethdb/remotedb" "github.com/ethereum/go-ethereum/ethstats" "github.com/ethereum/go-ethereum/graphql" - executionv1 "github.com/ethereum/go-ethereum/grpc/gen/astria/execution/v1" + executionv1a1 "github.com/ethereum/go-ethereum/grpc/gen/astria/execution/v1alpha1" "github.com/ethereum/go-ethereum/internal/ethapi" "github.com/ethereum/go-ethereum/internal/flags" "github.com/ethereum/go-ethereum/les" @@ -2087,7 +2087,7 @@ func RegisterGraphQLService(stack *node.Node, backend ethapi.Backend, filterSyst // RegisterGRPCService adds the gRPC API to the node. // It was done this way so that our grpc execution server can access the ethapi.Backend -func RegisterGRPCService(stack *node.Node, execServer executionv1.ExecutionServiceServer, cfg *node.Config) { +func RegisterGRPCService(stack *node.Node, execServer executionv1a1.ExecutionServiceServer, cfg *node.Config) { if err := node.NewGRPCServerHandler(stack, execServer, cfg); err != nil { Fatalf("Failed to register the gRPC service: %v", err) } diff --git a/node/grpcstack.go b/node/grpcstack.go index 45e0f30d6d..5b7e8be4d4 100644 --- a/node/grpcstack.go +++ b/node/grpcstack.go @@ -4,7 +4,7 @@ import ( "net" "sync" - executionv1 "github.com/ethereum/go-ethereum/grpc/gen/astria/execution/v1" + executionv1a1 "github.com/ethereum/go-ethereum/grpc/gen/astria/execution/v1alpha1" "github.com/ethereum/go-ethereum/log" "google.golang.org/grpc" ) @@ -16,13 +16,13 @@ type GRPCServerHandler struct { endpoint string server *grpc.Server - executionServiceServer *executionv1.ExecutionServiceServer + executionServiceServer *executionv1a1.ExecutionServiceServer } // NewServer creates a new gRPC server. // It registers the execution service server. // It registers the gRPC server with the node so it can be stopped on shutdown. -func NewGRPCServerHandler(node *Node, execService executionv1.ExecutionServiceServer, cfg *Config) error { +func NewGRPCServerHandler(node *Node, execService executionv1a1.ExecutionServiceServer, cfg *Config) error { server := grpc.NewServer() log.Info("gRPC server enabled", "endpoint", cfg.GRPCEndpoint()) @@ -33,7 +33,7 @@ func NewGRPCServerHandler(node *Node, execService executionv1.ExecutionServiceSe executionServiceServer: &execService, } - executionv1.RegisterExecutionServiceServer(server, execService) + executionv1a1.RegisterExecutionServiceServer(server, execService) node.RegisterGRPCServer(serverHandler) return nil