Skip to content

Commit

Permalink
feat: make geth node txpool queue configurable (#197)
Browse files Browse the repository at this point in the history
* feat: make txpol queue configurable

* update devnet create-env-file.sh

* fix: comments

* remove ccc checkout value from config file
  • Loading branch information
yiweichi authored Oct 24, 2024
1 parent 901989c commit 50bde17
Show file tree
Hide file tree
Showing 15 changed files with 124 additions and 62 deletions.
2 changes: 1 addition & 1 deletion charts/l2-bootnode/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
apiVersion: v2
description: l2-bootnode helm chart
name: l2-bootnode
version: 0.0.14
version: 0.0.15
appVersion: v0.1.0
kubeVersion: ">=1.22.0-0"
maintainers:
Expand Down
30 changes: 20 additions & 10 deletions charts/l2-bootnode/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# l2-bootnode

![Version: 0.0.14](https://img.shields.io/badge/Version-0.0.14-informational?style=flat-square) ![AppVersion: v0.1.0](https://img.shields.io/badge/AppVersion-v0.1.0-informational?style=flat-square)
![Version: 0.0.15](https://img.shields.io/badge/Version-0.0.15-informational?style=flat-square) ![AppVersion: v0.1.0](https://img.shields.io/badge/AppVersion-v0.1.0-informational?style=flat-square)

l2-bootnode helm chart

Expand All @@ -25,7 +25,7 @@ Kubernetes: `>=1.22.0-0`
|-----|------|---------|-------------|
| command[0] | string | `"bash"` | |
| command[1] | string | `"-c"` | |
| command[2] | string | `"geth --datadir \"/l2geth/data\" init /l2geth/genesis/genesis.json && echo ${L2GETH_NODEKEY} > /l2geth/data/geth/nodekey && echo \"[Node.P2P] StaticNodes = $L2GETH_PEER_LIST\" > \"/l2geth/config.toml\" && geth --datadir \"/l2geth/data\" --port \"$L2GETH_P2P_PORT\" --syncmode full --networkid \"$CHAIN_ID\" --maxpeers \"$L2GETH_MAX_PEERS\" --netrestrict \"$L2GETH_NETRESTRICT\" --nat \"$L2GETH_NAT\" --bootnodes \"\" --gcmode archive --config \"/l2geth/config.toml\" --cache.noprefetch --verbosity 3 --pprof --pprof.addr \"0.0.0.0\" --pprof.port 6060 $L2GETH_CCC_FLAG --ccc.numworkers \"$L2GETH_CCC_NUMWORKERS\" $METRICS_FLAGS --txpool.globalqueue 4096 --txpool.globalslots 40960 --txpool.pricelimit \"$L2GETH_MIN_GAS_PRICE\" $LOCALS_FLAG --l1.endpoint \"$L2GETH_L1_ENDPOINT\" --l1.confirmations \"$L2GETH_L1_WATCHER_CONFIRMATIONS\" --l1.sync.startblock \"$L2GETH_L1_CONTRACT_DEPLOYMENT_BLOCK\" --miner.gasprice \"$L2GETH_MIN_GAS_PRICE\" --rpc.gascap 0 --gpo.ignoreprice \"$L2GETH_MIN_GAS_PRICE\" --metrics --metrics.expensive $L2GETH_EXTRA_PARAMS"` | |
| command[2] | string | `"geth --datadir \"/l2geth/data\" init /l2geth/genesis/genesis.json && echo ${L2GETH_NODEKEY} > /l2geth/data/geth/nodekey && echo \"[Node.P2P] StaticNodes = $L2GETH_PEER_LIST\" > \"/l2geth/config.toml\" && geth --datadir \"/l2geth/data\" --port \"$L2GETH_P2P_PORT\" --syncmode full --networkid \"$CHAIN_ID\" --maxpeers \"$L2GETH_MAX_PEERS\" --netrestrict \"$L2GETH_NETRESTRICT\" --nat \"$L2GETH_NAT\" --bootnodes \"\" --gcmode archive --config \"/l2geth/config.toml\" --cache.noprefetch --verbosity 3 --pprof --pprof.addr \"0.0.0.0\" --pprof.port 6060 $L2GETH_CCC_FLAG --ccc.numworkers \"$L2GETH_CCC_NUMWORKERS\" $METRICS_FLAGS --txpool.globalqueue \"$L2GETH_GLOBAL_QUEUE\" --txpool.accountqueue \"$L2GETH_ACCOUNT_QUEUE\" --txpool.globalslots \"$L2GETH_GLOBAL_SLOTS\" --txpool.accountslots \"$L2GETH_ACCOUNT_SLOTS\" --txpool.pricelimit \"$L2GETH_MIN_GAS_PRICE\" $LOCALS_FLAG --l1.endpoint \"$L2GETH_L1_ENDPOINT\" --l1.confirmations \"$L2GETH_L1_WATCHER_CONFIRMATIONS\" --l1.sync.startblock \"$L2GETH_L1_CONTRACT_DEPLOYMENT_BLOCK\" --miner.gasprice \"$L2GETH_MIN_GAS_PRICE\" --rpc.gascap 0 --gpo.ignoreprice \"$L2GETH_MIN_GAS_PRICE\" --metrics --metrics.expensive $L2GETH_EXTRA_PARAMS"` | |
| controller.replicas | int | `1` | |
| controller.strategy | string | `"RollingUpdate"` | |
| controller.type | string | `"statefulset"` | |
Expand All @@ -36,20 +36,30 @@ Kubernetes: `>=1.22.0-0`
| envFrom[0].configMapRef.name | string | `"l2-bootnode-env"` | |
| env[0].name | string | `"L2GETH_L1_CONTRACT_DEPLOYMENT_BLOCK"` | |
| env[0].value | string | `"0"` | |
| env[10].name | string | `"L2GETH_GLOBAL_SLOTS"` | |
| env[10].value | string | `"40960"` | |
| env[11].name | string | `"L2GETH_ACCOUNT_SLOTS"` | |
| env[11].value | string | `"128"` | |
| env[12].name | string | `"L2GETH_EXTRA_PARAMS"` | |
| env[12].value | string | `""` | |
| env[1].name | string | `"L2GETH_L1_WATCHER_CONFIRMATIONS"` | |
| env[1].value | string | `"0x6"` | |
| env[2].name | string | `"L2GETH_P2P_PORT"` | |
| env[2].value | int | `30303` | |
| env[3].name | string | `"L2GETH_CCC_FLAG"` | |
| env[3].value | string | `"--ccc"` | |
| env[4].name | string | `"L2GETH_MAX_PEERS"` | |
| env[4].value | int | `500` | |
| env[5].name | string | `"VERBOSITY"` | |
| env[5].value | int | `3` | |
| env[6].name | string | `"L2GETH_MIN_GAS_PRICE"` | |
| env[6].value | string | `"1000000"` | |
| env[7].name | string | `"L2GETH_EXTRA_PARAMS"` | |
| env[7].value | string | `""` | |
| env[4].name | string | `"L2GETH_CCC_NUMWORKERS"` | |
| env[4].value | string | `"5"` | |
| env[5].name | string | `"L2GETH_MAX_PEERS"` | |
| env[5].value | int | `500` | |
| env[6].name | string | `"VERBOSITY"` | |
| env[6].value | int | `3` | |
| env[7].name | string | `"L2GETH_MIN_GAS_PRICE"` | |
| env[7].value | string | `"1000000"` | |
| env[8].name | string | `"L2GETH_GLOBAL_QUEUE"` | |
| env[8].value | string | `"4096"` | |
| env[9].name | string | `"L2GETH_ACCOUNT_QUEUE"` | |
| env[9].value | string | `"256"` | |
| global.fullnameOverride | string | `"l2-bootnode"` | |
| global.nameOverride | string | `"l2-bootnode"` | |
| image.pullPolicy | string | `"Always"` | |
Expand Down
17 changes: 15 additions & 2 deletions charts/l2-bootnode/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,22 @@ env:
value: 30303
- name: L2GETH_CCC_FLAG
value: "--ccc"
- name: L2GETH_CCC_NUMWORKERS
value: "5"
- name: L2GETH_MAX_PEERS
value: 500
- name: VERBOSITY
value: 3
- name: L2GETH_MIN_GAS_PRICE
value: "1000000"
- name: L2GETH_GLOBAL_QUEUE
value: "4096"
- name: L2GETH_ACCOUNT_QUEUE
value: "256"
- name: L2GETH_GLOBAL_SLOTS
value: "40960"
- name: L2GETH_ACCOUNT_SLOTS
value: "128"
- name: L2GETH_EXTRA_PARAMS
value: ""

Expand All @@ -52,9 +62,12 @@ command:
--pprof --pprof.addr \"0.0.0.0\" --pprof.port 6060 \
$L2GETH_CCC_FLAG --ccc.numworkers \"$L2GETH_CCC_NUMWORKERS\" \
$METRICS_FLAGS \
--txpool.globalqueue 4096 --txpool.globalslots 40960 --txpool.pricelimit \"$L2GETH_MIN_GAS_PRICE\" $LOCALS_FLAG \
--txpool.globalqueue \"$L2GETH_GLOBAL_QUEUE\" --txpool.accountqueue \"$L2GETH_ACCOUNT_QUEUE\" \
--txpool.globalslots \"$L2GETH_GLOBAL_SLOTS\" --txpool.accountslots \"$L2GETH_ACCOUNT_SLOTS\" \
--txpool.pricelimit \"$L2GETH_MIN_GAS_PRICE\" $LOCALS_FLAG \
--l1.endpoint \"$L2GETH_L1_ENDPOINT\" --l1.confirmations \"$L2GETH_L1_WATCHER_CONFIRMATIONS\" --l1.sync.startblock \"$L2GETH_L1_CONTRACT_DEPLOYMENT_BLOCK\" \
--miner.gasprice \"$L2GETH_MIN_GAS_PRICE\" --rpc.gascap 0 --gpo.ignoreprice \"$L2GETH_MIN_GAS_PRICE\" \
--miner.gasprice \"$L2GETH_MIN_GAS_PRICE\" --rpc.gascap 0 \
--gpo.ignoreprice \"$L2GETH_MIN_GAS_PRICE\" \
--metrics --metrics.expensive \
$L2GETH_EXTRA_PARAMS"
]
Expand Down
2 changes: 1 addition & 1 deletion charts/l2-rpc/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
apiVersion: v2
description: l2-rpc helm chart
name: l2-rpc
version: 0.0.14
version: 0.0.15
appVersion: v0.1.0
kubeVersion: ">=1.22.0-0"
maintainers:
Expand Down
30 changes: 20 additions & 10 deletions charts/l2-rpc/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# l2-rpc

![Version: 0.0.14](https://img.shields.io/badge/Version-0.0.14-informational?style=flat-square) ![AppVersion: v0.1.0](https://img.shields.io/badge/AppVersion-v0.1.0-informational?style=flat-square)
![Version: 0.0.15](https://img.shields.io/badge/Version-0.0.15-informational?style=flat-square) ![AppVersion: v0.1.0](https://img.shields.io/badge/AppVersion-v0.1.0-informational?style=flat-square)

l2-rpc helm chart

Expand All @@ -25,7 +25,7 @@ Kubernetes: `>=1.22.0-0`
|-----|------|---------|-------------|
| command[0] | string | `"bash"` | |
| command[1] | string | `"-c"` | |
| command[2] | string | `"geth --datadir \"/l2geth/data\" init /l2geth/genesis/genesis.json && echo \"[Node.P2P] StaticNodes = $L2GETH_PEER_LIST\" > \"/l2geth/config.toml\" && geth --datadir \"/l2geth/data\" --port \"$L2GETH_P2P_PORT\" --nodiscover --syncmode full --networkid \"$CHAIN_ID\" --config \"/l2geth/config.toml\" --http --http.port \"$L2GETH_RPC_HTTP_PORT\" --http.addr \"0.0.0.0\" --http.vhosts=\"*\" --http.corsdomain '*' --http.api \"eth,scroll,net,web3,debug\" --pprof --pprof.addr \"0.0.0.0\" --pprof.port 6060 --ws --ws.port \"$L2GETH_RPC_WS_PORT\" --ws.addr \"0.0.0.0\" --ws.api \"eth,scroll,net,web3,debug\" $L2GETH_CCC_FLAG --ccc.numworkers \"$L2GETH_CCC_NUMWORKERS\" $METRICS_FLAGS --gcmode archive --cache.noprefetch --verbosity 3 --txpool.globalqueue 4096 --txpool.globalslots 40960 --txpool.pricelimit \"$L2GETH_MIN_GAS_PRICE\" $LOCALS_FLAG --miner.gasprice \"$L2GETH_MIN_GAS_PRICE\" --rpc.gascap 0 --gpo.ignoreprice \"$L2GETH_MIN_GAS_PRICE\" --gpo.percentile 20 --gpo.blocks 100 --gpo.congestionthreshold 500 --l1.endpoint \"$L2GETH_L1_ENDPOINT\" --l1.confirmations \"$L2GETH_L1_WATCHER_CONFIRMATIONS\" --l1.sync.startblock \"$L2GETH_L1_CONTRACT_DEPLOYMENT_BLOCK\" --rollup.verify --metrics --metrics.expensive $L2GETH_EXTRA_PARAMS"` | |
| command[2] | string | `"geth --datadir \"/l2geth/data\" init /l2geth/genesis/genesis.json && echo \"[Node.P2P] StaticNodes = $L2GETH_PEER_LIST\" > \"/l2geth/config.toml\" && geth --datadir \"/l2geth/data\" --port \"$L2GETH_P2P_PORT\" --nodiscover --syncmode full --networkid \"$CHAIN_ID\" --config \"/l2geth/config.toml\" --http --http.port \"$L2GETH_RPC_HTTP_PORT\" --http.addr \"0.0.0.0\" --http.vhosts=\"*\" --http.corsdomain '*' --http.api \"eth,scroll,net,web3,debug\" --pprof --pprof.addr \"0.0.0.0\" --pprof.port 6060 --ws --ws.port \"$L2GETH_RPC_WS_PORT\" --ws.addr \"0.0.0.0\" --ws.api \"eth,scroll,net,web3,debug\" $L2GETH_CCC_FLAG --ccc.numworkers \"$L2GETH_CCC_NUMWORKERS\" $METRICS_FLAGS --gcmode archive --cache.noprefetch --verbosity 3 --txpool.globalqueue \"$L2GETH_GLOBAL_QUEUE\" --txpool.accountqueue \"$L2GETH_ACCOUNT_QUEUE\" --txpool.globalslots \"$L2GETH_GLOBAL_SLOTS\" --txpool.accountslots \"$L2GETH_ACCOUNT_SLOTS\" --txpool.pricelimit \"$L2GETH_MIN_GAS_PRICE\" $LOCALS_FLAG --miner.gasprice \"$L2GETH_MIN_GAS_PRICE\" --rpc.gascap 0 --gpo.ignoreprice \"$L2GETH_MIN_GAS_PRICE\" --gpo.percentile 20 --gpo.blocks 100 --gpo.congestionthreshold 500 --l1.endpoint \"$L2GETH_L1_ENDPOINT\" --l1.confirmations \"$L2GETH_L1_WATCHER_CONFIRMATIONS\" --l1.sync.startblock \"$L2GETH_L1_CONTRACT_DEPLOYMENT_BLOCK\" --rollup.verify --metrics --metrics.expensive $L2GETH_EXTRA_PARAMS"` | |
| controller.replicas | int | `1` | |
| controller.strategy | string | `"RollingUpdate"` | |
| controller.type | string | `"statefulset"` | |
Expand All @@ -36,6 +36,16 @@ Kubernetes: `>=1.22.0-0`
| envFrom[0].configMapRef.name | string | `"l2-rpc-env"` | |
| env[0].name | string | `"L2GETH_NODEKEY"` | |
| env[0].value | string | `""` | |
| env[10].name | string | `"L2GETH_GLOBAL_QUEUE"` | |
| env[10].value | string | `"4096"` | |
| env[11].name | string | `"L2GETH_ACCOUNT_QUEUE"` | |
| env[11].value | string | `"256"` | |
| env[12].name | string | `"L2GETH_GLOBAL_SLOTS"` | |
| env[12].value | string | `"40960"` | |
| env[13].name | string | `"L2GETH_ACCOUNT_SLOTS"` | |
| env[13].value | string | `"128"` | |
| env[14].name | string | `"L2GETH_EXTRA_PARAMS"` | |
| env[14].value | string | `""` | |
| env[1].name | string | `"L2GETH_L1_WATCHER_CONFIRMATIONS"` | |
| env[1].value | string | `"0x6"` | |
| env[2].name | string | `"L2GETH_RPC_HTTP_PORT"` | |
Expand All @@ -46,14 +56,14 @@ Kubernetes: `>=1.22.0-0`
| env[4].value | int | `30303` | |
| env[5].name | string | `"L2GETH_CCC_FLAG"` | |
| env[5].value | string | `"--ccc"` | |
| env[6].name | string | `"L2GETH_MAX_PEERS"` | |
| env[6].value | int | `500` | |
| env[7].name | string | `"VERBOSITY"` | |
| env[7].value | int | `3` | |
| env[8].name | string | `"L2GETH_MIN_GAS_PRICE"` | |
| env[8].value | string | `"1000000"` | |
| env[9].name | string | `"L2GETH_EXTRA_PARAMS"` | |
| env[9].value | string | `""` | |
| env[6].name | string | `"L2GETH_CCC_NUMWORKERS"` | |
| env[6].value | string | `"5"` | |
| env[7].name | string | `"L2GETH_MAX_PEERS"` | |
| env[7].value | int | `500` | |
| env[8].name | string | `"VERBOSITY"` | |
| env[8].value | int | `3` | |
| env[9].name | string | `"L2GETH_MIN_GAS_PRICE"` | |
| env[9].value | string | `"1000000"` | |
| global.fullnameOverride | string | `"l2-rpc"` | |
| global.nameOverride | string | `"l2-rpc"` | |
| image.pullPolicy | string | `"Always"` | |
Expand Down
19 changes: 15 additions & 4 deletions charts/l2-rpc/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,22 @@ env:
value: 30303
- name: L2GETH_CCC_FLAG
value: "--ccc"
- name: L2GETH_CCC_NUMWORKERS
value: "5"
- name: L2GETH_MAX_PEERS
value: 500
- name: VERBOSITY
value: 3
- name: L2GETH_MIN_GAS_PRICE
value: "1000000"
- name: L2GETH_GLOBAL_QUEUE
value: "4096"
- name: L2GETH_ACCOUNT_QUEUE
value: "256"
- name: L2GETH_GLOBAL_SLOTS
value: "40960"
- name: L2GETH_ACCOUNT_SLOTS
value: "128"
- name: L2GETH_EXTRA_PARAMS
value: ""

Expand All @@ -88,10 +98,11 @@ command:
--gcmode archive \
--cache.noprefetch \
--verbosity 3 \
--txpool.globalqueue 4096 --txpool.globalslots 40960 --txpool.pricelimit \"$L2GETH_MIN_GAS_PRICE\" $LOCALS_FLAG \
--miner.gasprice \"$L2GETH_MIN_GAS_PRICE\" --rpc.gascap 0 --gpo.ignoreprice \"$L2GETH_MIN_GAS_PRICE\" \
--gpo.percentile 20 \
--gpo.blocks 100 \
--txpool.globalqueue \"$L2GETH_GLOBAL_QUEUE\" --txpool.accountqueue \"$L2GETH_ACCOUNT_QUEUE\" \
--txpool.globalslots \"$L2GETH_GLOBAL_SLOTS\" --txpool.accountslots \"$L2GETH_ACCOUNT_SLOTS\" \
--txpool.pricelimit \"$L2GETH_MIN_GAS_PRICE\" $LOCALS_FLAG \
--miner.gasprice \"$L2GETH_MIN_GAS_PRICE\" --rpc.gascap 0 \
--gpo.ignoreprice \"$L2GETH_MIN_GAS_PRICE\" --gpo.percentile 20 --gpo.blocks 100 \
--gpo.congestionthreshold 500 \
--l1.endpoint \"$L2GETH_L1_ENDPOINT\" --l1.confirmations \"$L2GETH_L1_WATCHER_CONFIRMATIONS\" --l1.sync.startblock \"$L2GETH_L1_CONTRACT_DEPLOYMENT_BLOCK\" \
--rollup.verify \
Expand Down
2 changes: 1 addition & 1 deletion charts/l2-sequencer/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
apiVersion: v2
description: l2-sequencer helm charts
name: l2-sequencer
version: 0.0.12
version: 0.0.13
appVersion: v0.1.0
kubeVersion: ">=1.22.0-0"
maintainers:
Expand Down
38 changes: 24 additions & 14 deletions charts/l2-sequencer/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# l2-sequencer

![Version: 0.0.12](https://img.shields.io/badge/Version-0.0.12-informational?style=flat-square) ![AppVersion: v0.1.0](https://img.shields.io/badge/AppVersion-v0.1.0-informational?style=flat-square)
![Version: 0.0.13](https://img.shields.io/badge/Version-0.0.13-informational?style=flat-square) ![AppVersion: v0.1.0](https://img.shields.io/badge/AppVersion-v0.1.0-informational?style=flat-square)

l2-sequencer helm charts

Expand All @@ -25,7 +25,7 @@ Kubernetes: `>=1.22.0-0`
|-----|------|---------|-------------|
| command[0] | string | `"bash"` | |
| command[1] | string | `"-c"` | |
| command[2] | string | `"mkdir -p /l2geth/data/keystore && mkdir -p /l2geth/data/geth && echo \"[Node.P2P] StaticNodes = $L2GETH_PEER_LIST\" > \"/l2geth/config.toml\" && echo ${L2GETH_PASSWORD} > /l2geth/password && echo ${L2GETH_KEYSTORE} > /l2geth/data/keystore/keystore.json && echo ${L2GETH_NODEKEY} > /l2geth/data/geth/nodekey && geth --datadir \"/l2geth/data\" init /l2geth/genesis/genesis.json && geth --datadir \"/l2geth/data\" --port \"$L2GETH_P2P_PORT\" --nodiscover --syncmode full --networkid \"$CHAIN_ID\" --config \"/l2geth/config.toml\" --http --http.port \"$L2GETH_RPC_HTTP_PORT\" --http.addr \"0.0.0.0\" --http.vhosts=\"*\" --http.corsdomain \"*\" --http.api \"eth,scroll,net,web3,debug\" --pprof --pprof.addr \"0.0.0.0\" --pprof.port 6060 --ws --ws.port \"$L2GETH_RPC_WS_PORT\" --ws.addr \"0.0.0.0\" --ws.api \"eth,scroll,net,web3,debug\" --unlock \"$L2GETH_SIGNER_ADDRESS\" --password \"/l2geth/password\" --allow-insecure-unlock --mine $L2GETH_CCC_FLAG --ccc.numworkers \"$L2GETH_CCC_NUMWORKERS\" --gcmode archive --cache.noprefetch --verbosity ${VERBOSITY} --txpool.globalqueue 4096 --txpool.globalslots 40960 --txpool.pricelimit \"$L2GETH_MIN_GAS_PRICE\" $LOCALS_FLAG --miner.gasprice \"$L2GETH_MIN_GAS_PRICE\" --miner.gaslimit \"$L2GETH_MINER_GASLIMIT\" --rpc.gascap 0 --gpo.ignoreprice \"$L2GETH_MIN_GAS_PRICE\" --gpo.percentile 20 --gpo.blocks 100 --l1.endpoint \"$L2GETH_L1_ENDPOINT\" --l1.confirmations \"$L2GETH_L1_WATCHER_CONFIRMATIONS\" --l1.sync.startblock \"$L2GETH_L1_CONTRACT_DEPLOYMENT_BLOCK\" --rollup.verify --metrics --metrics.expensive $L2GETH_EXTRA_PARAMS"` | |
| command[2] | string | `"mkdir -p /l2geth/data/keystore && mkdir -p /l2geth/data/geth && echo \"[Node.P2P] StaticNodes = $L2GETH_PEER_LIST\" > \"/l2geth/config.toml\" && echo ${L2GETH_PASSWORD} > /l2geth/password && echo ${L2GETH_KEYSTORE} > /l2geth/data/keystore/keystore.json && echo ${L2GETH_NODEKEY} > /l2geth/data/geth/nodekey && geth --datadir \"/l2geth/data\" init /l2geth/genesis/genesis.json && geth --datadir \"/l2geth/data\" --port \"$L2GETH_P2P_PORT\" --nodiscover --syncmode full --networkid \"$CHAIN_ID\" --config \"/l2geth/config.toml\" --http --http.port \"$L2GETH_RPC_HTTP_PORT\" --http.addr \"0.0.0.0\" --http.vhosts=\"*\" --http.corsdomain \"*\" --http.api \"eth,scroll,net,web3,debug\" --pprof --pprof.addr \"0.0.0.0\" --pprof.port 6060 --ws --ws.port \"$L2GETH_RPC_WS_PORT\" --ws.addr \"0.0.0.0\" --ws.api \"eth,scroll,net,web3,debug\" --unlock \"$L2GETH_SIGNER_ADDRESS\" --password \"/l2geth/password\" --allow-insecure-unlock --mine $L2GETH_CCC_FLAG --ccc.numworkers \"$L2GETH_CCC_NUMWORKERS\" --gcmode archive --cache.noprefetch --verbosity ${VERBOSITY} --txpool.globalqueue \"$L2GETH_GLOBAL_QUEUE\" --txpool.accountqueue \"$L2GETH_ACCOUNT_QUEUE\" --txpool.globalslots \"$L2GETH_GLOBAL_SLOTS\" --txpool.accountslots \"$L2GETH_ACCOUNT_SLOTS\" --txpool.pricelimit \"$L2GETH_MIN_GAS_PRICE\" $LOCALS_FLAG --miner.gasprice \"$L2GETH_MIN_GAS_PRICE\" --miner.gaslimit \"$L2GETH_MINER_GASLIMIT\" --rpc.gascap 0 --gpo.ignoreprice \"$L2GETH_MIN_GAS_PRICE\" --gpo.percentile 20 --gpo.blocks 100 --l1.endpoint \"$L2GETH_L1_ENDPOINT\" --l1.confirmations \"$L2GETH_L1_WATCHER_CONFIRMATIONS\" --l1.sync.startblock \"$L2GETH_L1_CONTRACT_DEPLOYMENT_BLOCK\" --rollup.verify --metrics --metrics.expensive $L2GETH_EXTRA_PARAMS"` | |
| controller.replicas | int | `1` | |
| controller.strategy | string | `"RollingUpdate"` | |
| controller.type | string | `"statefulset"` | |
Expand All @@ -36,22 +36,32 @@ Kubernetes: `>=1.22.0-0`
| envFrom[0].configMapRef.name | string | `"l2-sequencer-env"` | |
| env[0].name | string | `"L2GETH_L1_WATCHER_CONFIRMATIONS"` | |
| env[0].value | string | `"0x6"` | |
| env[10].name | string | `"L2GETH_ACCOUNT_QUEUE"` | |
| env[10].value | string | `"256"` | |
| env[11].name | string | `"L2GETH_GLOBAL_SLOTS"` | |
| env[11].value | string | `"40960"` | |
| env[12].name | string | `"L2GETH_ACCOUNT_SLOTS"` | |
| env[12].value | string | `"128"` | |
| env[13].name | string | `"VERBOSITY"` | |
| env[13].value | string | `"3"` | |
| env[1].name | string | `"L2GETH_LOCALS"` | |
| env[1].value | string | `""` | |
| env[2].name | string | `"L2GETH_CCC_FLAG"` | |
| env[2].value | string | `"--ccc"` | |
| env[3].name | string | `"L2GETH_MINER_GASLIMIT"` | |
| env[3].value | string | `"10000000"` | |
| env[4].name | string | `"L2GETH_RPC_HTTP_PORT"` | |
| env[4].value | int | `8545` | |
| env[5].name | string | `"L2GETH_RPC_WS_PORT"` | |
| env[5].value | int | `8546` | |
| env[6].name | string | `"L2GETH_P2P_PORT"` | |
| env[6].value | string | `"30303"` | |
| env[7].name | string | `"L2GETH_MIN_GAS_PRICE"` | |
| env[7].value | string | `"1000000"` | |
| env[8].name | string | `"VERBOSITY"` | |
| env[8].value | string | `"3"` | |
| env[3].name | string | `"L2GETH_CCC_NUMWORKERS"` | |
| env[3].value | string | `"5"` | |
| env[4].name | string | `"L2GETH_MINER_GASLIMIT"` | |
| env[4].value | string | `"10000000"` | |
| env[5].name | string | `"L2GETH_RPC_HTTP_PORT"` | |
| env[5].value | int | `8545` | |
| env[6].name | string | `"L2GETH_RPC_WS_PORT"` | |
| env[6].value | int | `8546` | |
| env[7].name | string | `"L2GETH_P2P_PORT"` | |
| env[7].value | string | `"30303"` | |
| env[8].name | string | `"L2GETH_MIN_GAS_PRICE"` | |
| env[8].value | string | `"1000000"` | |
| env[9].name | string | `"L2GETH_GLOBAL_QUEUE"` | |
| env[9].value | string | `"4096"` | |
| global.fullnameOverride | string | `"l2-sequencer"` | |
| global.nameOverride | string | `"l2-sequencer"` | |
| image.pullPolicy | string | `"Always"` | |
Expand Down
Loading

0 comments on commit 50bde17

Please sign in to comment.