Skip to content

Commit 2bc5b92

Browse files
committed
chore: Try fix for include lint
Signed-off-by: gsstoykov <georgi.stoykov@limechain.tech>
1 parent e0e439f commit 2bc5b92

16 files changed

+129
-106
lines changed

src/sdk/main/src/AccountAllowanceApproveTransaction.cc

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
// SPDX-License-Identifier: Apache-2.0
2-
#include "AccountAllowanceApproveTransaction.h"
3-
#include "NftId.h"
4-
#include "impl/Node.h"
2+
#include <stdexcept>
53

6-
#include <services/crypto_approve_allowance.pb.h>
74
#include <grpcpp/client_context.h>
8-
#include <stdexcept>
5+
6+
#include <services/crypto_approve_allowance.pb.h>
97
#include <services/transaction.pb.h>
108
#include <services/transaction_response.pb.h>
119

10+
#include "AccountAllowanceApproveTransaction.h"
11+
#include "NftId.h"
12+
#include "impl/Node.h"
13+
1214
namespace Hiero
1315
{
1416
//-----

src/sdk/main/src/AccountAllowanceDeleteTransaction.cc

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
// SPDX-License-Identifier: Apache-2.0
2-
#include "AccountAllowanceDeleteTransaction.h"
3-
#include "NftId.h"
4-
#include "impl/Node.h"
2+
#include <stdexcept>
53

6-
#include <services/crypto_delete_allowance.pb.h>
74
#include <grpcpp/client_context.h>
8-
#include <stdexcept>
5+
6+
#include <services/crypto_delete_allowance.pb.h>
97
#include <services/transaction.pb.h>
108
#include <services/transaction_response.pb.h>
119

10+
#include "AccountAllowanceDeleteTransaction.h"
11+
#include "NftId.h"
12+
#include "impl/Node.h"
13+
1214
namespace Hiero
1315
{
1416
//-----

src/sdk/main/src/AccountBalance.cc

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
// SPDX-License-Identifier: Apache-2.0
2-
#include "AccountBalance.h"
3-
#include "impl/Utilities.h"
4-
52
#include <services/crypto_get_account_balance.pb.h>
3+
64
#include <nlohmann/json.hpp>
75

6+
#include "AccountBalance.h"
7+
#include "impl/Utilities.h"
8+
89
namespace Hiero
910
{
1011
//-----

src/sdk/main/src/AccountBalanceQuery.cc

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
// SPDX-License-Identifier: Apache-2.0
2+
#include <cstddef>
3+
#include <string>
4+
25
#include <services/crypto_get_account_balance.pb.h>
6+
#include <services/query.pb.h>
7+
#include <services/query_header.pb.h>
8+
#include <services/response.pb.h>
39

410
#include "AccountBalance.h"
511
#include "AccountBalanceQuery.h"
612
#include "TokenId.h"
7-
#include "exceptions/UninitializedException.h"
813
#include "impl/Node.h"
914

10-
#include <services/query.pb.h>
11-
#include <services/query_header.pb.h>
12-
#include <services/response.pb.h>
13-
14-
#include <cstddef>
15-
#include <string>
15+
#include "exceptions/UninitializedException.h"
1616

1717
#include <nlohmann/json.hpp>
1818

src/sdk/main/src/AccountCreateTransaction.cc

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
11
// SPDX-License-Identifier: Apache-2.0
2+
#include <stdexcept>
3+
4+
#include <grpcpp/client_context.h>
5+
6+
#include <services/crypto_create.pb.h>
7+
#include <services/transaction.pb.h>
8+
#include <services/transaction_response.pb.h>
9+
210
#include "AccountCreateTransaction.h"
311
#include "ECDSAsecp256k1PublicKey.h"
412
#include "PrivateKey.h"
@@ -7,12 +15,6 @@
715
#include "impl/Node.h"
816
#include "impl/Utilities.h"
917

10-
#include <services/crypto_create.pb.h>
11-
#include <grpcpp/client_context.h>
12-
#include <stdexcept>
13-
#include <services/transaction.pb.h>
14-
#include <services/transaction_response.pb.h>
15-
1618
namespace Hiero
1719
{
1820
//-----

src/sdk/main/src/AccountDeleteTransaction.cc

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
// SPDX-License-Identifier: Apache-2.0
2-
#include "AccountDeleteTransaction.h"
3-
#include "impl/Node.h"
2+
#include <stdexcept>
43

5-
#include <services/crypto_delete.pb.h>
64
#include <grpcpp/client_context.h>
7-
#include <stdexcept>
5+
6+
#include <services/crypto_delete.pb.h>
87
#include <services/transaction.pb.h>
98

9+
#include "AccountDeleteTransaction.h"
10+
#include "impl/Node.h"
11+
1012
namespace Hiero
1113
{
1214
//-----

src/sdk/main/src/AccountId.cc

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
// SPDX-License-Identifier: Apache-2.0
2+
#include <limits>
3+
#include <stdexcept>
4+
5+
#include <nlohmann/json.hpp>
6+
27
#include <services/basic_types.pb.h>
38

49
#include "AccountId.h"
@@ -14,10 +19,6 @@
1419
#include "impl/MirrorNetwork.h"
1520
#include "impl/Utilities.h"
1621

17-
#include <limits>
18-
#include <nlohmann/json.hpp>
19-
#include <stdexcept>
20-
2122
using json = nlohmann::json;
2223

2324
namespace Hiero

src/sdk/main/src/AccountInfo.cc

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
// SPDX-License-Identifier: Apache-2.0
2+
#include <nlohmann/json.hpp>
3+
4+
#include <services/crypto_get_info.pb.h>
5+
26
#include "AccountInfo.h"
37
#include "impl/DurationConverter.h"
48
#include "impl/HexConverter.h"
59
#include "impl/TimestampConverter.h"
610
#include "impl/Utilities.h"
711

8-
#include <services/crypto_get_info.pb.h>
9-
#include <nlohmann/json.hpp>
10-
1112
namespace Hiero
1213
{
1314
//-----

src/sdk/main/src/AccountInfoQuery.cc

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,17 @@
11
// SPDX-License-Identifier: Apache-2.0
2+
#include <nlohmann/json.hpp>
3+
24
#include <services/crypto_get_info.pb.h>
5+
#include <services/query.pb.h>
6+
#include <services/query_header.pb.h>
7+
#include <services/response.pb.h>
38

49
#include "AccountInfo.h"
510
#include "AccountInfoQuery.h"
611
#include "TokenId.h"
712
#include "TokenRelationship.h"
813
#include "impl/Node.h"
914

10-
#include <services/query.pb.h>
11-
#include <services/query_header.pb.h>
12-
#include <services/response.pb.h>
13-
14-
#include <nlohmann/json.hpp>
15-
1615
using json = nlohmann::json;
1716

1817
namespace Hiero

src/sdk/main/src/AccountRecords.cc

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
// SPDX-License-Identifier: Apache-2.0
2+
#include <nlohmann/json.hpp>
3+
4+
#include <services/crypto_get_account_records.pb.h>
5+
26
#include "AccountRecords.h"
37
#include "TransactionRecord.h"
48
#include "impl/Utilities.h"
59

6-
#include <services/crypto_get_account_records.pb.h>
7-
#include <nlohmann/json.hpp>
8-
910
namespace Hiero
1011
{
1112
//-----

0 commit comments

Comments
 (0)