Skip to content

Commit 452a87f

Browse files
committed
fix: makfile if else
1 parent 3689ae5 commit 452a87f

1 file changed

Lines changed: 6 additions & 10 deletions

File tree

Makefile

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,16 @@
33
SHELL := /bin/bash
44
OS := $(shell uname -s)
55

6-
NETWORK=devnet # devnet | holesky-stage | holesky
7-
ifeq ($(NETWORK)), devnet)
8-
RPC_URL ?= http://localhost:8545
9-
BEACON_URL ?= http://localhost:58001
10-
endif
11-
12-
ifeq ($(NETWORK), holesky)
6+
NETWORK ?= devnet # devnet | holesky-stage | holesky
7+
ifeq ($(NETWORK),holesky)
138
RPC_URL ?= https://ethereum-holesky-rpc.publicnode.com
149
BEACON_URL ?= https://eth-beacon-chain-holesky.drpc.org/rest/
15-
endif
16-
17-
ifeq ($(NETWORK), holesky-stage)
10+
else ifeq ($(ENVIRONMENT), holesky-stage)
1811
RPC_URL ?= https://ethereum-holesky-rpc.publicnode.com
1912
BEACON_URL ?= https://eth-beacon-chain-holesky.drpc.org/rest/
13+
else
14+
RPC_URL ?= http://localhost:8545
15+
BEACON_URL ?= http://localhost:58801
2016
endif
2117

2218
CONFIG_FILE?=config-files/config.yaml

0 commit comments

Comments
 (0)