@@ -166,38 +166,39 @@ test-iex:
166166# NODE RUNNERS
167167DISCOVERY_PORT ?= 9009
168168METRICS_PORT ?= 9568
169+ MODE ?= full
169170
170171# ▶️ mainnet: @ Run an interactive terminal using checkpoint sync for mainnet.
171172mainnet : 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 )
173+ iex -S mix run -- --checkpoint-sync-url https://mainnet-checkpoint-sync.stakely.io/ --metrics --metrics-port $(METRICS_PORT ) --discovery-port $(DISCOVERY_PORT ) --mode $( MODE )
173174
174175# ▶️ mainnet.logfile: @ Run an interactive terminal using checkpoint sync for mainnet with a log file.
175176mainnet.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 )
177+ 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 ) --mode $( MODE )
177178
178179# ▶️ sepolia: @ Run an interactive terminal using sepolia network
179180sepolia : compile-all
180- iex -S mix run -- --checkpoint-sync-url https://sepolia.beaconstate.info --network sepolia --metrics --metrics-port $(METRICS_PORT ) --discovery-port $(DISCOVERY_PORT )
181+ iex -S mix run -- --checkpoint-sync-url https://sepolia.beaconstate.info --network sepolia --metrics --metrics-port $(METRICS_PORT ) --discovery-port $(DISCOVERY_PORT ) --mode $( MODE )
181182
182183# ▶️ sepolia.logfile: @ Run an interactive terminal using sepolia network with a log file
183184sepolia.logfile : compile-all
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 )
185+ 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 ) --mode $( MODE )
185186
186187# ▶️ holesky: @ Run an interactive terminal using holesky network
187188holesky : compile-all
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 )
189+ iex -S mix run -- --checkpoint-sync-url https://checkpoint-sync.holesky.ethpandaops.io --network holesky --metrics --metrics-port $(METRICS_PORT ) --discovery-port $(DISCOVERY_PORT ) --mode $( MODE )
189190
190191# ▶️ holesky.logfile: @ Run an interactive terminal using holesky network with a log file
191192holesky.logfile : compile-all
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 )
193+ 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 ) --mode $( MODE )
193194
194195# ▶️ gnosis: @ Run an interactive terminal using gnosis network
195196gnosis : compile-all
196- iex -S mix run -- --checkpoint-sync-url https://checkpoint.gnosischain.com --network gnosis --metrics --metrics-port $(METRICS_PORT ) --discovery-port $(DISCOVERY_PORT )
197+ iex -S mix run -- --checkpoint-sync-url https://checkpoint.gnosischain.com --network gnosis --metrics --metrics-port $(METRICS_PORT ) --discovery-port $(DISCOVERY_PORT ) --mode $( MODE )
197198
198199# ▶️ gnosis.logfile: @ Run an interactive terminal using gnosis network with a log file
199200gnosis.logfile : compile-all
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+ 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 ) --mode $( MODE )
201202
202203# ▶️ checkpoint-sync: @ Run an interactive terminal using checkpoint sync for mainnet.
203204checkpoint-sync : mainnet
0 commit comments