From 08e6dec08ea8a9f762b2efae57f6871b22e2a13c Mon Sep 17 00:00:00 2001 From: root Date: Thu, 23 Mar 2023 08:49:25 +0000 Subject: [PATCH 1/7] Delete InitTripleStore from engine_to_bts.proto --- proto/engine_to_bts/engine_to_bts.pb.go | 39 ++++++++------------ proto/engine_to_bts/engine_to_bts.proto | 1 - proto/engine_to_bts/engine_to_bts_grpc.pb.go | 36 ------------------ 3 files changed, 16 insertions(+), 60 deletions(-) diff --git a/proto/engine_to_bts/engine_to_bts.pb.go b/proto/engine_to_bts/engine_to_bts.pb.go index da06cafc8..34d716a4e 100644 --- a/proto/engine_to_bts/engine_to_bts.pb.go +++ b/proto/engine_to_bts/engine_to_bts.pb.go @@ -319,27 +319,22 @@ var file_engine_to_bts_proto_rawDesc = []byte{ 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x46, 0x4c, 0x4f, 0x41, 0x54, 0x10, 0x01, 0x12, 0x13, 0x0a, 0x0f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x46, 0x49, 0x58, 0x45, 0x44, 0x50, 0x4f, 0x49, 0x4e, 0x54, - 0x10, 0x02, 0x32, 0xf9, 0x01, 0x0a, 0x0b, 0x45, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x54, 0x6f, 0x42, + 0x10, 0x02, 0x32, 0xb4, 0x01, 0x0a, 0x0b, 0x45, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x54, 0x6f, 0x42, 0x74, 0x73, 0x12, 0x4f, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x54, 0x72, 0x69, 0x70, 0x6c, 0x65, 0x73, 0x12, 0x1e, 0x2e, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x74, 0x6f, 0x62, 0x74, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x72, 0x69, 0x70, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x74, 0x6f, 0x62, 0x74, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x72, 0x69, 0x70, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x00, 0x12, 0x43, 0x0a, 0x0f, 0x49, 0x6e, 0x69, 0x74, 0x54, 0x72, 0x69, 0x70, 0x6c, - 0x65, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x16, - 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x12, 0x54, 0x0a, 0x11, 0x44, 0x65, 0x6c, 0x65, - 0x74, 0x65, 0x4a, 0x6f, 0x62, 0x49, 0x64, 0x54, 0x72, 0x69, 0x70, 0x6c, 0x65, 0x12, 0x25, 0x2e, - 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x74, 0x6f, 0x62, 0x74, 0x73, 0x2e, 0x44, 0x65, 0x6c, 0x65, - 0x74, 0x65, 0x4a, 0x6f, 0x62, 0x49, 0x64, 0x54, 0x72, 0x69, 0x70, 0x6c, 0x65, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x42, 0x3a, - 0x5a, 0x38, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x63, 0x6f, - 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x2d, 0x64, 0x65, 0x76, 0x65, 0x6c, 0x6f, 0x70, 0x2f, 0x51, 0x75, - 0x69, 0x63, 0x6b, 0x4d, 0x50, 0x43, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x65, 0x6e, 0x67, - 0x69, 0x6e, 0x65, 0x5f, 0x74, 0x6f, 0x5f, 0x62, 0x74, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x33, + 0x65, 0x22, 0x00, 0x12, 0x54, 0x0a, 0x11, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4a, 0x6f, 0x62, + 0x49, 0x64, 0x54, 0x72, 0x69, 0x70, 0x6c, 0x65, 0x12, 0x25, 0x2e, 0x65, 0x6e, 0x67, 0x69, 0x6e, + 0x65, 0x74, 0x6f, 0x62, 0x74, 0x73, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4a, 0x6f, 0x62, + 0x49, 0x64, 0x54, 0x72, 0x69, 0x70, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x42, 0x3a, 0x5a, 0x38, 0x67, 0x69, 0x74, + 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, + 0x2d, 0x64, 0x65, 0x76, 0x65, 0x6c, 0x6f, 0x70, 0x2f, 0x51, 0x75, 0x69, 0x63, 0x6b, 0x4d, 0x50, + 0x43, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x5f, 0x74, + 0x6f, 0x5f, 0x62, 0x74, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -368,13 +363,11 @@ var file_engine_to_bts_proto_depIdxs = []int32{ 0, // 0: enginetobts.GetTriplesRequest.triple_type:type_name -> enginetobts.Type 2, // 1: enginetobts.GetTriplesResponse.triples:type_name -> enginetobts.Triple 1, // 2: enginetobts.EngineToBts.GetTriples:input_type -> enginetobts.GetTriplesRequest - 5, // 3: enginetobts.EngineToBts.InitTripleStore:input_type -> google.protobuf.Empty - 4, // 4: enginetobts.EngineToBts.DeleteJobIdTriple:input_type -> enginetobts.DeleteJobIdTripleRequest - 3, // 5: enginetobts.EngineToBts.GetTriples:output_type -> enginetobts.GetTriplesResponse - 5, // 6: enginetobts.EngineToBts.InitTripleStore:output_type -> google.protobuf.Empty - 5, // 7: enginetobts.EngineToBts.DeleteJobIdTriple:output_type -> google.protobuf.Empty - 5, // [5:8] is the sub-list for method output_type - 2, // [2:5] is the sub-list for method input_type + 4, // 3: enginetobts.EngineToBts.DeleteJobIdTriple:input_type -> enginetobts.DeleteJobIdTripleRequest + 3, // 4: enginetobts.EngineToBts.GetTriples:output_type -> enginetobts.GetTriplesResponse + 5, // 5: enginetobts.EngineToBts.DeleteJobIdTriple:output_type -> google.protobuf.Empty + 4, // [4:6] is the sub-list for method output_type + 2, // [2:4] is the sub-list for method input_type 2, // [2:2] is the sub-list for extension type_name 2, // [2:2] is the sub-list for extension extendee 0, // [0:2] is the sub-list for field type_name diff --git a/proto/engine_to_bts/engine_to_bts.proto b/proto/engine_to_bts/engine_to_bts.proto index a4f0fc2f8..fe8c1f266 100644 --- a/proto/engine_to_bts/engine_to_bts.proto +++ b/proto/engine_to_bts/engine_to_bts.proto @@ -8,7 +8,6 @@ import "google/protobuf/empty.proto"; service EngineToBts { rpc GetTriples(GetTriplesRequest) returns (GetTriplesResponse) {} - rpc InitTripleStore(google.protobuf.Empty) returns (google.protobuf.Empty) {} rpc DeleteJobIdTriple(DeleteJobIdTripleRequest) returns (google.protobuf.Empty) {} } diff --git a/proto/engine_to_bts/engine_to_bts_grpc.pb.go b/proto/engine_to_bts/engine_to_bts_grpc.pb.go index d019ff610..0c6dc738e 100644 --- a/proto/engine_to_bts/engine_to_bts_grpc.pb.go +++ b/proto/engine_to_bts/engine_to_bts_grpc.pb.go @@ -24,7 +24,6 @@ const _ = grpc.SupportPackageIsVersion7 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. type EngineToBtsClient interface { GetTriples(ctx context.Context, in *GetTriplesRequest, opts ...grpc.CallOption) (*GetTriplesResponse, error) - InitTripleStore(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) DeleteJobIdTriple(ctx context.Context, in *DeleteJobIdTripleRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) } @@ -45,15 +44,6 @@ func (c *engineToBtsClient) GetTriples(ctx context.Context, in *GetTriplesReques return out, nil } -func (c *engineToBtsClient) InitTripleStore(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) - err := c.cc.Invoke(ctx, "/enginetobts.EngineToBts/InitTripleStore", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - func (c *engineToBtsClient) DeleteJobIdTriple(ctx context.Context, in *DeleteJobIdTripleRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { out := new(emptypb.Empty) err := c.cc.Invoke(ctx, "/enginetobts.EngineToBts/DeleteJobIdTriple", in, out, opts...) @@ -68,7 +58,6 @@ func (c *engineToBtsClient) DeleteJobIdTriple(ctx context.Context, in *DeleteJob // for forward compatibility type EngineToBtsServer interface { GetTriples(context.Context, *GetTriplesRequest) (*GetTriplesResponse, error) - InitTripleStore(context.Context, *emptypb.Empty) (*emptypb.Empty, error) DeleteJobIdTriple(context.Context, *DeleteJobIdTripleRequest) (*emptypb.Empty, error) mustEmbedUnimplementedEngineToBtsServer() } @@ -80,9 +69,6 @@ type UnimplementedEngineToBtsServer struct { func (UnimplementedEngineToBtsServer) GetTriples(context.Context, *GetTriplesRequest) (*GetTriplesResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetTriples not implemented") } -func (UnimplementedEngineToBtsServer) InitTripleStore(context.Context, *emptypb.Empty) (*emptypb.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method InitTripleStore not implemented") -} func (UnimplementedEngineToBtsServer) DeleteJobIdTriple(context.Context, *DeleteJobIdTripleRequest) (*emptypb.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteJobIdTriple not implemented") } @@ -117,24 +103,6 @@ func _EngineToBts_GetTriples_Handler(srv interface{}, ctx context.Context, dec f return interceptor(ctx, in, info, handler) } -func _EngineToBts_InitTripleStore_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(emptypb.Empty) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(EngineToBtsServer).InitTripleStore(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/enginetobts.EngineToBts/InitTripleStore", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(EngineToBtsServer).InitTripleStore(ctx, req.(*emptypb.Empty)) - } - return interceptor(ctx, in, info, handler) -} - func _EngineToBts_DeleteJobIdTriple_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(DeleteJobIdTripleRequest) if err := dec(in); err != nil { @@ -164,10 +132,6 @@ var EngineToBts_ServiceDesc = grpc.ServiceDesc{ MethodName: "GetTriples", Handler: _EngineToBts_GetTriples_Handler, }, - { - MethodName: "InitTripleStore", - Handler: _EngineToBts_InitTripleStore_Handler, - }, { MethodName: "DeleteJobIdTriple", Handler: _EngineToBts_DeleteJobIdTriple_Handler, From 9785f168bdaf965c435afe1bbcef9b6fbb1d14bf Mon Sep 17 00:00:00 2001 From: root Date: Thu, 23 Mar 2023 11:01:25 +0000 Subject: [PATCH 2/7] Delete initTripleStore --- .../client/computation_to_bts/client.hpp | 16 ---------------- .../computation_party/computation_party.cpp | 4 ---- 2 files changed, 20 deletions(-) diff --git a/packages/server/computation_container/client/computation_to_bts/client.hpp b/packages/server/computation_container/client/computation_to_bts/client.hpp index 2ab12ea64..96b4260a2 100644 --- a/packages/server/computation_container/client/computation_to_bts/client.hpp +++ b/packages/server/computation_container/client/computation_to_bts/client.hpp @@ -71,22 +71,6 @@ class Client return triples; } - void initTripleStore() - { - grpc::Status status; - google::protobuf::Empty request, response; - - // リトライポリシーに従ってリクエストを送る - auto retry_manager = RetryManager("BTS", "initTripleStore"); - do - { - grpc::ClientContext context; - const std::string token = Config::getInstance()->cc_to_bts_token; - context.AddMetadata("authorization", "bearer " + token); - status = stub_->InitTripleStore(&context, request, &response); - } while (retry_manager.retry(status)); - } - void deleteJobIdTriple(const unsigned int job_id) { grpc::Status status; diff --git a/packages/server/computation_container/computation_party/computation_party.cpp b/packages/server/computation_container/computation_party/computation_party.cpp index 112f1db54..5fb322ad9 100644 --- a/packages/server/computation_container/computation_party/computation_party.cpp +++ b/packages/server/computation_container/computation_party/computation_party.cpp @@ -7,7 +7,6 @@ #include #include -#include "client/computation_to_bts/client.hpp" #include "config_parse/config_parse.hpp" #include "job/job_manager.hpp" #include "logging/logger.hpp" @@ -26,9 +25,6 @@ int main() grpc::EnableDefaultHealthCheckService(true); - auto cc_to_bts = qmpc::ComputationToBts::Client::getInstance(); - cc_to_bts->initTripleStore(); - const std::string ctc_my_ip_str("0.0.0.0:" + ctoc_ip.port); std::thread th1(qmpc::ComputationToComputation::Server::runServer, ctc_my_ip_str); const std::string ctc_for_j_my_ip_str("0.0.0.0:" + ctoc_for_j_ip.port); From 7163a467808f767850042699d37cf1aac15a7c5d Mon Sep 17 00:00:00 2001 From: root Date: Thu, 23 Mar 2023 11:02:21 +0000 Subject: [PATCH 3/7] Delete InitTripleStore --- .../server/engine_to_bts/e2b.go | 20 ------------------- 1 file changed, 20 deletions(-) diff --git a/packages/server/beaver_triple_service/server/engine_to_bts/e2b.go b/packages/server/beaver_triple_service/server/engine_to_bts/e2b.go index 84c287705..d1f62b590 100644 --- a/packages/server/beaver_triple_service/server/engine_to_bts/e2b.go +++ b/packages/server/beaver_triple_service/server/engine_to_bts/e2b.go @@ -73,26 +73,6 @@ func (s *server) GetTriples(ctx context.Context, in *pb.GetTriplesRequest) (*pb. }, nil } -func (s *server) InitTripleStore(ctx context.Context, in *emptypb.Empty) (*emptypb.Empty, error) { - claims, ok := ctx.Value("claims").(*jwt_types.Claim) - if !ok { - return nil, status.Error(codes.Internal, "failed claims type assertions") - } - - partyId, err := GetPartyIdFromClaims(claims) - if err != nil { - return nil, err - } - logger.Infof("partyId: %d \n", partyId) - - err = tg.InitTripleStore() - if err != nil { - return nil, err - } - - return &emptypb.Empty{}, err -} - func (s *server) DeleteJobIdTriple(ctx context.Context, in *pb.DeleteJobIdTripleRequest) (*emptypb.Empty, error) { claims, ok := ctx.Value("claims").(*jwt_types.Claim) if !ok { From 9b023800b73da81705205ed40fe8a011e412f0b1 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 23 Mar 2023 11:02:50 +0000 Subject: [PATCH 4/7] Delete InitTripleStore function --- .../triple_generator/triple_generator.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/packages/server/beaver_triple_service/triple_generator/triple_generator.go b/packages/server/beaver_triple_service/triple_generator/triple_generator.go index 68736bfb2..e4dde9ab2 100644 --- a/packages/server/beaver_triple_service/triple_generator/triple_generator.go +++ b/packages/server/beaver_triple_service/triple_generator/triple_generator.go @@ -150,12 +150,6 @@ func GetTriples(claims *jwt_types.Claim, jobId uint32, partyId uint32, amount ui return triples, nil } -func InitTripleStore() error { - // Dbを初期化 - Db.Triples = map[uint32](map[uint32]([]*pb.Triple)){} - return nil -} - func DeleteJobIdTriple(jobId uint32) error { // jobIdに紐付いたTripleを削除 delete(Db.Triples, jobId) From 099122b8e1eafadea10a5ff8354ea03a2d2bc10f Mon Sep 17 00:00:00 2001 From: root Date: Thu, 23 Mar 2023 11:03:23 +0000 Subject: [PATCH 5/7] Delete unnecessary tests --- .../server/engine_to_bts/e2b_test.go | 16 ------------- .../triple_generator/triple_generator_test.go | 23 ------------------ .../read_triple_from_bts_test.hpp | 24 ------------------- 3 files changed, 63 deletions(-) diff --git a/packages/server/beaver_triple_service/server/engine_to_bts/e2b_test.go b/packages/server/beaver_triple_service/server/engine_to_bts/e2b_test.go index f0c47f712..9db46d6eb 100644 --- a/packages/server/beaver_triple_service/server/engine_to_bts/e2b_test.go +++ b/packages/server/beaver_triple_service/server/engine_to_bts/e2b_test.go @@ -180,22 +180,6 @@ func TestGetTriplesFailedUnknownType(t *testing.T) { } } -func TestInitTripleStore(t * testing.T) { - conn := s.GetConn() - defer conn.Close() - client := pb.NewEngineToBtsClient(conn) - - ctx, err := getContext() - if err != nil { - t.Fatal(err) - } - - _,err = client.InitTripleStore(ctx, &emptypb.Empty{}) - if err != nil { - t.Fatal(err) - } -} - func TestDeleteJobIdTriple(t * testing.T) { conn := s.GetConn() defer conn.Close() diff --git a/packages/server/beaver_triple_service/triple_generator/triple_generator_test.go b/packages/server/beaver_triple_service/triple_generator/triple_generator_test.go index 7f43b0029..7f490489b 100644 --- a/packages/server/beaver_triple_service/triple_generator/triple_generator_test.go +++ b/packages/server/beaver_triple_service/triple_generator/triple_generator_test.go @@ -167,29 +167,6 @@ func TestTripleGenerator_Float_1000000_1(t *testing.T) { testTripleGenerator(t, 1000000, 1, pb.Type_TYPE_FLOAT) } -func TestInitTripleStore(t *testing.T) { - claims, err := getClaims() - if err != nil { - t.Fatal(err) - } - - jobId := uint32(1) - partyId := uint32(1) - amount := uint32(10) - triple_type := pb.Type_TYPE_FLOAT - _, err = tg.GetTriples(claims, jobId, partyId, amount, triple_type) - if err != nil { - t.Fatal(err) - } - - err = tg.InitTripleStore() - if err != nil { - t.Fatal(err) - } - - testDbIsEmpty(t) -} - func TestDeleteJobIdTriple(t *testing.T) { claims, err := getClaims() if err != nil { diff --git a/packages/server/computation_container/test/integration_test/read_triple_from_bts_test.hpp b/packages/server/computation_container/test/integration_test/read_triple_from_bts_test.hpp index c23b7139f..282755160 100644 --- a/packages/server/computation_container/test/integration_test/read_triple_from_bts_test.hpp +++ b/packages/server/computation_container/test/integration_test/read_triple_from_bts_test.hpp @@ -54,30 +54,6 @@ void readTriplesTest(const unsigned int jobIdMax, const unsigned int amount) TEST(ComputationToBtsTest, ReadTriplesTest10_10000) { readTriplesTest(10, 10000); } -TEST(ComputationToBtsTest, InitTripleStoreTest) -{ - const unsigned int jobIdMax = 5; - const unsigned int amount = 1000; - Config *conf = Config::getInstance(); - auto cc_to_bts = qmpc::ComputationToBts::Client::getInstance(); - - if (conf->party_id == 1) - { - for (unsigned int jobId = 1; jobId <= jobIdMax; jobId++) - { - auto triples = cc_to_bts->readTriples(jobId, amount); - } - - // BTSの初期化 - cc_to_bts->initTripleStore(); - } - - // partyで足並みを揃えるため - sync(); - - readTriplesTest(jobIdMax, amount); -} - TEST(ComputationToBtsTest, DeleteJobIdTripleTest) { const unsigned int jobIdMax = 5; From 83847eb1d76e98b7cd4449a98be70c12c0f15f46 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 23 Mar 2023 11:03:49 +0000 Subject: [PATCH 6/7] Delete unnecessary deps --- packages/server/computation_container/computation_party/BUILD | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/server/computation_container/computation_party/BUILD b/packages/server/computation_container/computation_party/BUILD index cd023a3b7..4535f5cf5 100644 --- a/packages/server/computation_container/computation_party/BUILD +++ b/packages/server/computation_container/computation_party/BUILD @@ -8,7 +8,6 @@ cc_library( ], deps = [ "//config_parse:config_parse", - "//client/computation_to_bts:client", "//server/computation_to_computation_container:server", "//server/computation_to_computation_container_for_job:server", "//server/manage_to_computation_container:server", From b2d2e18711a57d08d4305e1b8a8e02c4a2c149c5 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 27 Mar 2023 03:40:12 +0000 Subject: [PATCH 7/7] Remove unnecessary modules --- .../beaver_triple_service/server/engine_to_bts/e2b_test.go | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/server/beaver_triple_service/server/engine_to_bts/e2b_test.go b/packages/server/beaver_triple_service/server/engine_to_bts/e2b_test.go index 9db46d6eb..6ddf8e6fb 100644 --- a/packages/server/beaver_triple_service/server/engine_to_bts/e2b_test.go +++ b/packages/server/beaver_triple_service/server/engine_to_bts/e2b_test.go @@ -11,7 +11,6 @@ import ( ts "github.com/acompany-develop/QuickMPC/packages/server/beaver_triple_service/triple_store" utils "github.com/acompany-develop/QuickMPC/packages/server/beaver_triple_service/utils" pb "github.com/acompany-develop/QuickMPC/proto/engine_to_bts" - emptypb "google.golang.org/protobuf/types/known/emptypb" "google.golang.org/grpc/metadata" )