Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A Makefile target for running a local simulation: make local-testnet-minimal #1532

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
15 changes: 15 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,21 @@ ifneq ($(if $(ENABLE_LEGACY_ETH66),$(ENABLE_LEGACY_ETH66),1),0)
NIM_PARAMS := $(NIM_PARAMS) -d:legacy_eth66_enabled
endif

local-testnet-minimal:
pushd vendor/nimbus-eth2 && \
env \
NIMBUS_ETH1_BINARY=../../build/nimbus \
./scripts/launch_local_testnet.sh \
--nodes=3 \
--stop-at-epoch=7 \
--disable-htop \
--reuse-binaries \
--run-nimbus-eth1 \
--dl-nimbus-eth2 \
--verbose \
--kill-old-processes && \
popd

#- deletes and recreates "nimbus.nims" which on Windows is a copy instead of a proper symlink
update: | update-common
rm -rf nimbus.nims && \
Expand Down
2 changes: 1 addition & 1 deletion vendor/nim-libbacktrace
2 changes: 1 addition & 1 deletion vendor/nimbus-eth2
Submodule nimbus-eth2 updated 174 files