@@ -21,9 +21,9 @@ lodestar-besu-001:
2121 - --sync-mode=FULL
2222 - --data-storage-format=BONSAI
2323 - --bonsai-limit-trie-logs-enabled=false
24- - --bonsai-historical-block-limit=10000000
25- - --bootnodes=enode://e452c1d148d86f48c38acd7561e3a3518e41b8141a604d2a332e9350ed4bea3c685c9dbd4c3fac242906479ad9eb2373cb7501a9c37637d9e42262d1f6128910@91.98.138.241 :30303
26- - --logging DEBUG
24+ - --bonsai-historical-block-limit=100000000
25+ - --bootnodes=enode://b6ea0654360d2f380c3a138e7a0b2a773bdac6c7f591e34ca2ed0c092cbe9a1eb5b49662c75c45bb43047db6eef8c34d02805c3562106c8c8722cdf48ee9c1a8@167.235.68.172 :30303
26+ - --logging=INFO
2727 nethermind :
2828 - --Init.ChainSpecPath=/data/network-config/chainspec.json
2929 - --JsonRpc.EnabledModules=Eth,Subscribe,Trace,TxPool,Web3,Personal,Proof,Net,Parity,Health,Rpc,Debug,Admin
@@ -103,6 +103,7 @@ lodestar-besu-001:
103103 - --bootstrap-node=enr:-LG4QO5ezbzcEfHnxLSUwCZuLbN6sY7xp3VCTirRZRIoPK_hZmuHp8ziS6lO8ERk-GeJEu-0vQeJgKfoQIuliznvTicDg2V0aMvKhJ1SoMeEaUQq7oRldGgykKilwl________________-CaWSCdjSCaXCEW2KK8YlzZWNwMjU2azGhA9XAvUkWapIMxr9AizmtzUuId47vIRmb2VQ_Y879YPhGg3RjcIIjMoN1ZHCCIzI
104104 - --bootstrap-node=enr:-Pm4QOYEe9_wz-CqsVBWk_DvwddeZlsfLMqMoqCVk7RSycClE_qUor-tMvf5QoG57hc9Q5ifqD49Yv6dpdz7zU9S-9iBl4dhdHRuZXRziAAAAAAAwAAAg2NnY4GAhGV0aDKQqKXCX4AlVZD__________4JpZIJ2NIJpcIRbYorxg2lwNpAqAQT4HB7TTAAAAAAAAAABg25mZIQAAAAAiXNlY3AyNTZrMaED3b_9xNMXdFxy4j6gKGMxDtPWoj-bZole6Fg2JLnAN3-Ic3luY25ldHOIAAAAAAAAAACDdGNwgiMohHRjcDaCIyqDdWRwgiMohHVkcDaCIyo
105105
106+
106107 besu :
107108 enabled : true
108109 fullnameOverride : besu-lodestar-001
@@ -199,38 +200,38 @@ lodestar-besu-001:
199200 enabled : true
200201 size : 200Gi
201202 initContainers :
202- - name : init-genesis
203- image : alpine:latest
204- imagePullPolicy : IfNotPresent
205- securityContext :
206- runAsNonRoot : false
207- runAsUser : 0
208- command :
209- - sh
210- - -ace
211- - >
212- apk add jq curl sed;
213- DEPOSIT_CONTRACT_URI=https://config.bal-devnet-1.ethpandaops.io/cl/deposit_contract.txt;
214- DEPOSIT_CONTRACT_BLOCK_URI=https://config.bal-devnet-1.ethpandaops.io/cl/deposit_contract_block.txt;
215- DEPOSIT_CONTRACT_BLOCK_HASH_URI=https://config.bal-devnet-1.ethpandaops.io/cl/deposit_contract_block_hash.txt;
216- GENESIS_CONFIG_URI=https://config.bal-devnet-1.ethpandaops.io/cl/config.yaml;
217- GENESIS_SSZ_URI=https://config.bal-devnet-1.ethpandaops.io/cl/genesis.ssz;
218- mkdir -p /data/network-config;
219- curl -s https://config.bal-devnet-1.ethpandaops.io/api/v1/nodes/inventory | jq -r '.ethereum_pairs[] | .consensus.enr' > /data/network-config/bootstrap_nodes.txt;
220- if ! [ -f /data/network-config/genesis.ssz ];
221- then
222- wget -O /data/network-config/deposit_contract.txt $DEPOSIT_CONTRACT_URI;
223- wget -O /data/network-config/deposit_contract_block.txt $DEPOSIT_CONTRACT_BLOCK_URI;
224- wget -O /data/network-config/deposit_contract_block_hash.txt $DEPOSIT_CONTRACT_BLOCK_HASH_URI;
225- wget -O /data/network-config/config.yaml $GENESIS_CONFIG_URI;
226- wget -O /data/network-config/genesis.ssz $GENESIS_SSZ_URI;
227- echo "genesis init done";
228- else
229- echo "genesis exists. skipping...";
230- fi;
231- (tr '\n' ',' < /data/network-config/bootstrap_nodes.txt | sed 's/[^,]*/"&"/g') > /data/network-config/bootstrap_nodes2.txt;
232- mv /data/network-config/bootstrap_nodes2.txt /data/network-config/bootstrap_nodes.txt;
233- echo "bootnode init done: $(cat /data/network-config/bootstrap_nodes.txt)";
234- volumeMounts :
235- - name : storage
236- mountPath : " /data"
203+ - name : init-genesis
204+ image : alpine:latest
205+ imagePullPolicy : IfNotPresent
206+ securityContext :
207+ runAsNonRoot : false
208+ runAsUser : 0
209+ command :
210+ - sh
211+ - -ace
212+ - >
213+ apk add jq curl sed;
214+ DEPOSIT_CONTRACT_URI=https://config.bal-devnet-1.ethpandaops.io/cl/deposit_contract.txt;
215+ DEPOSIT_CONTRACT_BLOCK_URI=https://config.bal-devnet-1.ethpandaops.io/cl/deposit_contract_block.txt;
216+ DEPOSIT_CONTRACT_BLOCK_HASH_URI=https://config.bal-devnet-1.ethpandaops.io/cl/deposit_contract_block_hash.txt;
217+ GENESIS_CONFIG_URI=https://config.bal-devnet-1.ethpandaops.io/cl/config.yaml;
218+ GENESIS_SSZ_URI=https://config.bal-devnet-1.ethpandaops.io/cl/genesis.ssz;
219+ mkdir -p /data/network-config;
220+ curl -s https://config.bal-devnet-1.ethpandaops.io/api/v1/nodes/inventory | jq -r '.ethereum_pairs[] | .consensus.enr' > /data/network-config/bootstrap_nodes.txt;
221+ if ! [ -f /data/network-config/genesis.ssz ];
222+ then
223+ wget -O /data/network-config/deposit_contract.txt $DEPOSIT_CONTRACT_URI;
224+ wget -O /data/network-config/deposit_contract_block.txt $DEPOSIT_CONTRACT_BLOCK_URI;
225+ wget -O /data/network-config/deposit_contract_block_hash.txt $DEPOSIT_CONTRACT_BLOCK_HASH_URI;
226+ wget -O /data/network-config/config.yaml $GENESIS_CONFIG_URI;
227+ wget -O /data/network-config/genesis.ssz $GENESIS_SSZ_URI;
228+ echo "genesis init done";
229+ else
230+ echo "genesis exists. skipping...";
231+ fi;
232+ (tr '\n' ',' < /data/network-config/bootstrap_nodes.txt | sed 's/[^,]*/"&"/g') > /data/network-config/bootstrap_nodes2.txt;
233+ mv /data/network-config/bootstrap_nodes2.txt /data/network-config/bootstrap_nodes.txt;
234+ echo "bootnode init done: $(cat /data/network-config/bootstrap_nodes.txt)";
235+ volumeMounts :
236+ - name : storage
237+ mountPath : " /data"
0 commit comments