Skip to content
This repository was archived by the owner on Apr 17, 2019. It is now read-only.

Commit 21b0c8d

Browse files
authored
Refactor/disable compatibility (#1348)
* Fix build errors Signed-off-by: Dumitru <dimasavva17@gmail.com> * Move linked library to the right place Signed-off-by: Dumitru <dimasavva17@gmail.com> * Fixed link error Signed-off-by: Dumitru <dimasavva17@gmail.com>
1 parent 036cac8 commit 21b0c8d

File tree

11 files changed

+11
-11
lines changed

11 files changed

+11
-11
lines changed

iroha-cli/main.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,10 @@
1919
#include <rapidjson/istreamwrapper.h>
2020
#include <rapidjson/rapidjson.h>
2121
#include <boost/filesystem.hpp>
22-
#include <fstream>
2322
#include <iostream>
2423

2524
#include "backend/protobuf/queries/proto_query.hpp"
2625
#include "client.hpp"
27-
#include "common/assert_config.hpp"
2826
#include "converters/protobuf/json_proto_converter.hpp"
2927
#include "crypto/keys_manager_impl.hpp"
3028
#include "grpc_response_handler.hpp"
@@ -36,7 +34,6 @@
3634
#include "model/converters/pb_transaction_factory.hpp"
3735
#include "model/generators/block_generator.hpp"
3836
#include "model/model_crypto_provider_impl.hpp"
39-
#include "validators.hpp"
4037

4138
// Account information
4239
DEFINE_bool(new_account,

irohad/consensus/yac/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,5 @@ target_link_libraries(yac
4343
yac_grpc
4444
logger
4545
hash
46+
shared_model_proto_backend
4647
)

irohad/execution/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,5 @@ add_library(query_execution
3939
target_link_libraries(query_execution
4040
rxcpp
4141
shared_model_default_builders
42+
common_execution
4243
)

irohad/network/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ target_link_libraries(block_loader
1818
loader_grpc
1919
rxcpp
2020
shared_model_interfaces
21+
shared_model_proto_backend
22+
logger
2123
)
2224

2325
add_library(block_loader_service

irohad/torii/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,5 @@ target_link_libraries(torii_service
3636
shared_model_proto_backend
3737
logger
3838
shared_model_stateless_validation
39+
processors
3940
)

irohad/torii/processor/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@ target_link_libraries(processors PUBLIC
88
logger
99
endpoint
1010
shared_model_proto_builders
11+
query_execution
1112
)

test/integration/transport/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ target_link_libraries(ordering_gate_service_test
66
ordering_service
77
shared_model_stateless_validation
88
shared_model_cryptography_model
9+
iroha_amount
910
)

test/module/iroha-cli/client_test.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ TEST_F(ClientServerTest, SendQueryWhenStatelessInvalid) {
207207
ASSERT_TRUE(res.status.ok());
208208
ASSERT_TRUE(res.answer.has_error_response());
209209
ASSERT_EQ(res.answer.error_response().reason(),
210-
iroha::model::ErrorResponse::STATELESS_INVALID);
210+
iroha::protocol::ErrorResponse::STATELESS_INVALID);
211211
ASSERT_NE(res.answer.error_response().message().size(), 0);
212212
}
213213

@@ -247,9 +247,6 @@ TEST_F(ClientServerTest, SendQueryWhenValid) {
247247
TEST_F(ClientServerTest, SendQueryWhenStatefulInvalid) {
248248
iroha_cli::CliClient client(Ip, Port);
249249

250-
auto account_test = iroha::model::Account();
251-
account_test.account_id = "test@test";
252-
253250
EXPECT_CALL(*wsv_query, getSignatories("admin@test"))
254251
.WillRepeatedly(Return(signatories));
255252

test/module/irohad/ordering/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,13 @@ addtest(ordering_service_test ordering_service_test.cpp)
1616
target_link_libraries(ordering_service_test
1717
ordering_service
1818
shared_model_stateless_validation
19+
iroha_amount
1920
)
2021

2122
addtest(ordering_gate_test ordering_gate_test.cpp)
2223
target_link_libraries(ordering_gate_test
2324
ordering_service
2425
shared_model_cryptography_model
2526
shared_model_stateless_validation
27+
iroha_amount
2628
)

test/module/irohad/synchronizer/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ addtest(synchronizer_test synchronizer_test.cpp)
22
target_link_libraries(synchronizer_test
33
synchronizer
44
shared_model_cryptography
5+
shared_model_proto_backend
56
)
67

78

0 commit comments

Comments
 (0)