diff --git a/beacon_chain/eth2_network.nim b/beacon_chain/eth2_network.nim index b796db13c..6df69c205 100644 --- a/beacon_chain/eth2_network.nim +++ b/beacon_chain/eth2_network.nim @@ -11,7 +11,7 @@ import json_serialization, json_serialization/std/[net, options], chronos, chronicles, metrics, # TODO: create simpler to use libp2p modules that use re-exports - libp2p/[switch, standard_setup, peerinfo, peer, connection, errors, + libp2p/[switch, standard_setup, peerinfo, peer, errors, multiaddress, multicodec, crypto/crypto, crypto/secp, protocols/identify, protocols/protocol], libp2p/protocols/secure/[secure, secio], diff --git a/beacon_chain/inspector.nim b/beacon_chain/inspector.nim index dda016887..5f5e80ea2 100644 --- a/beacon_chain/inspector.nim +++ b/beacon_chain/inspector.nim @@ -6,7 +6,7 @@ # at your option. This file may not be copied, modified, or distributed except according to those terms. import strutils, os, tables, options import confutils, chronicles, chronos -import libp2p/[switch, standard_setup, connection, multiaddress, multicodec, +import libp2p/[switch, standard_setup, multiaddress, multicodec, peer, peerinfo, peer] import libp2p/crypto/crypto as lcrypto import libp2p/crypto/secp as lsecp diff --git a/vendor/nim-libp2p b/vendor/nim-libp2p index fe828d87d..b99fd88de 160000 --- a/vendor/nim-libp2p +++ b/vendor/nim-libp2p @@ -1 +1 @@ -Subproject commit fe828d87d8a1eb4c018400fe525e127c2c0401c3 +Subproject commit b99fd88deb18c6e4c2b06b1faa3c5d5729be52a0