@@ -164,39 +164,43 @@ test-iex:
164164
165165# #################
166166# NODE RUNNERS
167- DYSCOVERY_PORT ?= 30303
167+ DISCOVERY_PORT ?= 9009
168+ METRICS_PORT ?= 9568
168169
169- # ▶️ checkpoint-sync : @ Run an interactive terminal using checkpoint sync.
170- checkpoint-sync : compile-all
171- iex -S mix run -- --checkpoint-sync-url https://mainnet-checkpoint-sync.stakely.io/ --metrics --discovery-port $(DYSCOVERY_PORT )
170+ # ▶️ mainnet : @ Run an interactive terminal using checkpoint sync for mainnet .
171+ mainnet : compile-all
172+ iex -S mix run -- --checkpoint-sync-url https://mainnet-checkpoint-sync.stakely.io/ --metrics --metrics-port $( METRICS_PORT ) -- discovery-port $(DISCOVERY_PORT )
172173
173- # ▶️ checkpoint-sync .logfile: @ Run an interactive terminal using checkpoint sync with a log file.
174- checkpoint-sync .logfile : compile-all
175- iex -S mix run -- --checkpoint-sync-url https://mainnet-checkpoint-sync.stakely.io/ --metrics --log-file ./logs/mainnet.log --discovery-port $(DYSCOVERY_PORT )
174+ # ▶️ mainnet .logfile: @ Run an interactive terminal using checkpoint sync for mainnet with a log file.
175+ mainnet .logfile : compile-all
176+ iex -S mix run -- --checkpoint-sync-url https://mainnet-checkpoint-sync.stakely.io/ --metrics --metrics-port $( METRICS_PORT ) -- log-file ./logs/mainnet.log --discovery-port $(DISCOVERY_PORT )
176177
177178# ▶️ sepolia: @ Run an interactive terminal using sepolia network
178179sepolia : compile-all
179- iex -S mix run -- --checkpoint-sync-url https://sepolia.beaconstate.info --network sepolia --metrics --discovery-port $(DYSCOVERY_PORT )
180+ iex -S mix run -- --checkpoint-sync-url https://sepolia.beaconstate.info --network sepolia --metrics --metrics-port $( METRICS_PORT ) -- discovery-port $(DISCOVERY_PORT )
180181
181182# ▶️ sepolia.logfile: @ Run an interactive terminal using sepolia network with a log file
182183sepolia.logfile : compile-all
183- iex -S mix run -- --checkpoint-sync-url https://sepolia.beaconstate.info --network sepolia --metrics --log-file ./logs/sepolia.log --discovery-port $(DYSCOVERY_PORT )
184+ iex -S mix run -- --checkpoint-sync-url https://sepolia.beaconstate.info --network sepolia --metrics --metrics-port $( METRICS_PORT ) -- log-file ./logs/sepolia.log --discovery-port $(DISCOVERY_PORT )
184185
185186# ▶️ holesky: @ Run an interactive terminal using holesky network
186187holesky : compile-all
187- iex -S mix run -- --checkpoint-sync-url https://checkpoint-sync.holesky.ethpandaops.io --network holesky --discovery-port $(DYSCOVERY_PORT )
188+ iex -S mix run -- --checkpoint-sync-url https://checkpoint-sync.holesky.ethpandaops.io --network holesky --metrics --metrics-port $( METRICS_PORT ) -- discovery-port $(DISCOVERY_PORT )
188189
189190# ▶️ holesky.logfile: @ Run an interactive terminal using holesky network with a log file
190191holesky.logfile : compile-all
191- iex -S mix run -- --checkpoint-sync-url https://checkpoint-sync.holesky.ethpandaops.io --network holesky --log-file ./logs/holesky.log --discovery-port $(DYSCOVERY_PORT )
192+ iex -S mix run -- --checkpoint-sync-url https://checkpoint-sync.holesky.ethpandaops.io --network holesky --log-file ./logs/holesky.log --metrics --metrics-port $( METRICS_PORT ) -- discovery-port $(DISCOVERY_PORT )
192193
193194# ▶️ gnosis: @ Run an interactive terminal using gnosis network
194195gnosis : compile-all
195- iex -S mix run -- --checkpoint-sync-url https://checkpoint.gnosischain.com --network gnosis --discovery-port $(DYSCOVERY_PORT )
196+ iex -S mix run -- --checkpoint-sync-url https://checkpoint.gnosischain.com --network gnosis --metrics --metrics-port $( METRICS_PORT ) -- discovery-port $(DISCOVERY_PORT )
196197
197198# ▶️ gnosis.logfile: @ Run an interactive terminal using gnosis network with a log file
198199gnosis.logfile : compile-all
199- iex -S mix run -- --checkpoint-sync-url https://checkpoint.gnosischain.com --network gnosis --log-file ./logs/gnosis.log --discovery-port $(DYSCOVERY_PORT )
200+ iex -S mix run -- --checkpoint-sync-url https://checkpoint.gnosischain.com --network gnosis --metrics --metrics-port $(METRICS_PORT ) --log-file ./logs/gnosis.log --discovery-port $(DISCOVERY_PORT )
201+
202+ # ▶️ checkpoint-sync: @ Run an interactive terminal using checkpoint sync for mainnet.
203+ checkpoint-sync : mainnet
200204
201205# 🔴 test: @ Run tests
202206test : compile-all
0 commit comments