bump submodules

plus a few small modifications
This commit is contained in:
Ștefan Talpalaru 2020-02-26 01:14:20 +01:00
parent 3d99c7b28e
commit c2c570fcb0
No known key found for this signature in database
GPG Key ID: CBF7934204F1B6F9
7 changed files with 13 additions and 7 deletions

View File

@ -184,8 +184,8 @@ proc toPeerInfo(r: Option[enr.TypedRecord]): PeerInfo =
proc dialPeer*(node: Eth2Node, peerInfo: PeerInfo) {.async.} =
logScope: peer = $peerInfo
debug "Dialing peer"
discard await node.switch.dial(peerInfo)
debug "Connecting to peer"
await node.switch.connect(peerInfo)
var peer = node.getPeer(peerInfo)
peer.wasDialed = true

View File

@ -37,6 +37,7 @@ else:
--excessiveStackTrace:on
# enable metric collection
--define:metrics
--define:chronicles_line_numbers
# the default open files limit is too low on macOS (512), breaking the
# "--debugger:native" build. It can be increased with `ulimit -n 1024`.

View File

@ -88,6 +88,11 @@ while true; do
esac
done
# when sourcing env.sh, it will try to execute $@, so empty it
EXTRA_ARGS="$@"
if [[ $# != 0 ]]; then
shift $#
fi
NETWORK="testnet${TESTNET}"
rm -rf "${DATA_DIR}"
@ -173,7 +178,7 @@ for NUM_NODE in $(seq 0 $(( ${NUM_NODES} - 1 ))); do
--data-dir="${NODE_DATA_DIR}" \
${BOOTSTRAP_ARG} \
--state-snapshot="${NETWORK_DIR}/genesis.ssz" \
"$@" \
${EXTRA_ARGS} \
> "${DATA_DIR}/log${NUM_NODE}.txt" 2>&1 &
if [[ "${PIDS}" == "" ]]; then
PIDS="$!"

2
vendor/nim-chronos vendored

@ -1 +1 @@
Subproject commit 3367b6ca908412c9e4e2faa8e0be1e40a40f595c
Subproject commit fe1b1a698324cd754d9ef70722c7551ce32b6819

2
vendor/nim-eth vendored

@ -1 +1 @@
Subproject commit cb27813f3b4f2936f3f8c61c4791273b0df66d33
Subproject commit 22bf279b0794f55e08344fe54beddf44d3ae9549

2
vendor/nim-libp2p vendored

@ -1 +1 @@
Subproject commit 6a7f9f058c04ecdfd26e5dbfd8df88221b8511e7
Subproject commit 85d4baca958eb3e909c9a0bcde346914c2bae602

@ -1 +1 @@
Subproject commit 2c4faa5372d2d8b0c2d16710fe5f93beab1c86af
Subproject commit 088d3b7f6843fd61c829a5a0c0c29912945963ae