Skip to content

Commit

Permalink
Update libp2p to v0.1.5 (#1285)
Browse files Browse the repository at this point in the history
* Connect to local installation of libp2p

* Update libp2p to v0.1.5

* Remove duplicate from cmake dependencies config

* Update hunter
  • Loading branch information
Harrm authored Jul 28, 2022
1 parent 833e33b commit eff70ff
Show file tree
Hide file tree
Showing 15 changed files with 20 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cmake/Hunter/config.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ hunter_config(

hunter_config(
libp2p
VERSION 0.1.4
VERSION 0.1.5
KEEP_PACKAGE_SOURCES
)

Expand Down
4 changes: 2 additions & 2 deletions cmake/Hunter/hunter-gate-url.cmake
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

HunterGate(
URL "https://github.com/soramitsu/soramitsu-hunter/archive/refs/tags/v0.23.257-soramitsu30.tar.gz"
SHA1 "b406a72a2858d0ae5b4df12eb3a61f6d98caf1dd"
URL "https://github.com/soramitsu/soramitsu-hunter/archive/76ade73764c127b45527929431dc50c0acfac209.zip"
SHA1 "4940476e463d4078df77f6bb3428a62c388fdb64"
LOCAL
)
1 change: 1 addition & 0 deletions core/api/service/child_state/requests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ add_library(api_child_state_requests
target_link_libraries(api_child_state_requests
Boost::boost
blob
outcome
)
1 change: 1 addition & 0 deletions core/api/service/rpc/requests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ add_library(api_rpc_requests

target_link_libraries(api_rpc_requests
Boost::boost
outcome
)
1 change: 1 addition & 0 deletions core/api/service/state/requests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ add_library(api_state_requests
target_link_libraries(api_state_requests
Boost::boost
blob
outcome
)
1 change: 1 addition & 0 deletions core/api/service/system/requests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@ add_library(api_system_requests
target_link_libraries(api_system_requests
Boost::boost
scale::scale
outcome
)
1 change: 1 addition & 0 deletions core/application/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ add_library(application_util
)
target_link_libraries(application_util
Boost::filesystem
outcome
)

add_custom_command(
Expand Down
1 change: 1 addition & 0 deletions core/consensus/grandpa/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ add_library(vote_crypto_provider
)
target_link_libraries(vote_crypto_provider
scale::scale
outcome
)

add_library(voter_set
Expand Down
1 change: 1 addition & 0 deletions core/consensus/grandpa/vote_graph/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ add_library(vote_graph
)
target_link_libraries(vote_graph
Boost::boost
outcome
)
1 change: 1 addition & 0 deletions core/crypto/crypto_store/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ add_library(crypto_store_key_type
)
target_link_libraries(crypto_store_key_type
Boost::boost
outcome
)
kagome_install(crypto_store_key_type)

Expand Down
2 changes: 2 additions & 0 deletions core/offchain/impl/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ add_library(offchain_persistent_storage
)
target_link_libraries(offchain_persistent_storage
Boost::boost
outcome
)
kagome_install(offchain_persistent_storage)

Expand All @@ -16,6 +17,7 @@ add_library(offchain_local_storage
)
target_link_libraries(offchain_local_storage
Boost::boost
p2p::p2p
)
kagome_install(offchain_local_storage)

Expand Down
1 change: 1 addition & 0 deletions core/outcome/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@
add_library(outcome INTERFACE)
target_link_libraries(outcome INTERFACE
Boost::boost
p2p::p2p
)
kagome_install(outcome)
5 changes: 4 additions & 1 deletion core/runtime/common/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -71,5 +71,8 @@ target_link_libraries(runtime_environment_factory
kagome_install(runtime_environment_factory)

add_library(memory_allocator memory_allocator.cpp)
target_link_libraries(memory_allocator Boost::boost)
target_link_libraries(memory_allocator
Boost::boost
outcome
)
kagome_install(memory_allocator)
1 change: 1 addition & 0 deletions core/scale/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ add_library(scale_libp2p_types

target_link_libraries(scale_libp2p_types
scale::scale
p2p::p2p
)
1 change: 1 addition & 0 deletions test/core/api/client/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ add_library(test_http_client
)
target_link_libraries(test_http_client
Boost::boost
outcome
)

add_library(test_ws_client
Expand Down

0 comments on commit eff70ff

Please sign in to comment.