You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(l2): enviroment variables option for "l2 init" command (#2488)
**Motivation**
devops
**Description**
add the following enviroment variables to customize the l2 init command.
Specially useful for systemd or docker services
```
ETHREX_NETWORK
ETHREX_DATADIR
ETHREX_METRICS_PORT
ETHREX_EVM
ETHREX_HTTP_ADDR
ETHREX_HTTP_PORT
```
Copy file name to clipboardExpand all lines: cmd/ethrex/cli.rs
+19-8Lines changed: 19 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,8 @@ pub struct Options {
37
37
value_name = "GENESIS_FILE_PATH",
38
38
help = "Receives a `Genesis` struct in json format. This is the only argument which is required. You can look at some example genesis files at `test_data/genesis*`.",
39
39
long_help = "Alternatively, the name of a known network can be provided instead to use its preset genesis file and include its preset bootnodes. The networks currently supported include holesky, sepolia, hoodi and mainnet.",
0 commit comments