Skip to content

Developer tips & tricks

Mamy Ratsimbazafy edited this page Oct 6, 2020 · 9 revisions

Bumping all submodules to their latest HEADs

Warning: revert the submodules to their designated commits with make update before branching, committing and creating new PRs. Don't bump submodules if you don't need to. Don't blame Git submodules for any breakage. Don't expect any form of official support for this workflow.

From a nim-beacon-chain repo, after the usual git pull; make update, in a new branch:

# bump all submodules, temporarily:
make update-remote
# undo some bumps:
git submodule update --recursive vendor/news
# test, commit, push branch, create PR as usual

Checking bootnodes

cat ../eth2-testnets/shared/medalla/bootstrap_nodes.txt | xargs -I % sh -c './eth/p2p/discoveryv5/dcli --log-level:trace --udp-port:9001 ping %'

Clone this wiki locally