Skip to content

Commit 80d7dec

Browse files
committed
devnet 2
1 parent b0ec852 commit 80d7dec

54 files changed

Lines changed: 7084 additions & 108 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎ansible/ansible.cfg‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
ansible_managed = Ansible managed. Don't change this file manually. Template info: {{{{ (template_fullpath | replace(playbook_dir,'')) }}}}
33
stdout_callback = default
44
result_format = yaml
5-
inventory = inventories/devnet-1/inventory.ini
5+
inventory = inventories/devnet-2/inventory.ini
66
roles_path = vendor/roles/:roles
77
collections_path = vendor/collections
88
forks = 100
@@ -19,7 +19,7 @@ fact_caching = jsonfile
1919
# Keep facts forever
2020
fact_caching_timeout = 0
2121
# Where to store the fact cache
22-
fact_caching_connection = tmp/devnet-1/
22+
fact_caching_connection = tmp/devnet-2/
2323
2424
[inventory]
2525
enable_plugins = script, yaml, ini

‎ansible/inventories/devnet-1/inventory.ini‎

Lines changed: 0 additions & 106 deletions
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../../../group_vars/all/defaults.yaml

‎ansible/inventories/devnet-2/group_vars/all/all.sops.yaml‎

Lines changed: 198 additions & 0 deletions
Large diffs are not rendered by default.

‎ansible/inventories/devnet-2/group_vars/all/all.yaml‎

Lines changed: 313 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
default_ethereum_client_images:
2+
### Consensus layer clients
3+
lighthouse: ethpandaops/lighthouse:glamsterdam-devnet-2
4+
lodestar: ethpandaops/lodestar:glamsterdam-devnet-2
5+
nimbus: ethpandaops/nimbus-eth2:glamsterdam-devnet-2
6+
prysm: ethpandaops/prysm-beacon-chain:glamsterdam-devnet-2
7+
prysm_validator: ethpandaops/prysm-validator:glamsterdam-devnet-2
8+
teku: ethpandaops/teku:glamsterdam-devnet-2
9+
grandine: ethpandaops/grandine:glamsterdam-devnet-2
10+
### Execution layer clients
11+
besu: ethpandaops/besu:bal-devnet-6
12+
geth: ethpandaops/geth:bal-devnet-6
13+
erigon: ethpandaops/erigon:bal-devnet-6
14+
nethermind: ethpandaops/nethermind:bal-devnet-6
15+
reth: ethpandaops/reth:bal-devnet-6
16+
nimbusel: ethpandaops/nimbus-eth1:bal-devnet-6
17+
ethrex: ethpandaops/ethrex:bal-devnet-6
18+
19+
default_tooling_images:
20+
mev_boost: ethpandaops/mev-boost:develop
21+
mev_builder: ethpandaops/reth-rbuilder:develop
22+
mev_relay: ethpandaops/mev-boost-relay:main
23+
buildoor: ethpandaops/buildoor:main
24+
authenticatoor: ethpandaops/service-authenticatoor:main
25+
xatu_sentry: ethpandaops/xatu:latest
26+
xatu_cannon: ethpandaops/xatu:latest
27+
xatu_mimicry: ethpandaops/xatu:latest
28+
xatu_cl_mimicry: ethpandaops/xatu:latest
29+
xatu_relay_monitor: ethpandaops/xatu:latest
30+
ethereum_metrics_exporter: ethpandaops/ethereum-metrics-exporter:latest
31+
tx_fuzz: ethpandaops/tx-fuzz:latest
32+
forkmon: skylenet/nodemonitor:darkmode
33+
forky: ethpandaops/forky:latest
34+
fauceth: skylenet/fauceth:fix_fee_estimation
35+
powfaucet: pk910/powfaucet:v2-stable
36+
homepage: ethpandaops/ethereum-testnet-homepage:latest
37+
checkpointz: ethpandaops/checkpointz:gloas-latest
38+
blockscout: blockscout/blockscout:latest
39+
blockscout_frontend: docker.ethquokkaops.io/gh/blockscout/frontend:latest
40+
beacon_metrics_gazer: dapplion/beacon-metrics-gazer:latest
41+
eth_fauceth: chainflag/eth-faucet:latest
42+
blobscan: blossomlabs/blobscan:latest
43+
blobscan_indexer: blossomlabs/blobscan-indexer:latest
44+
dora: ethpandaops/dora:master-latest
45+
dugtrio: ethpandaops/dugtrio:latest
46+
ethereum_genesis_generator: ethpandaops/ethereum-genesis-generator:6.0.5
47+
tracoor: ethpandaops/tracoor:latest
48+
ncli: status-im/nimbus-eth2:unstable
49+
lcli: ethpandaops/lighthouse:unstable
50+
zcli: electra
51+
assertoor: ethpandaops/assertoor:master-latest
52+
erpc: docker.ethquokkaops.io/gh/erpc/erpc:latest
53+
prometheus: prom/prometheus:v2.40.7
54+
node_exporter: prom/node-exporter:v1.5.0
55+
cl_bootnode: protolambda/eth2-bootnode:cleanup
56+
json_rpc_snooper: ethpandaops/rpc-snooper:latest
57+
nginx_proxy: nginx:alpine
58+
nginx_proxy_gen: nginxproxy/docker-gen
59+
nginx_proxy_acme: nginxproxy/acme-companion
60+
nginx_proxy_cert_loader: ethpandaops/debian-docker:latest
61+
nginx_proxy_cert_linker: nginxproxy/docker-gen
62+
vector: timberio/vector:0.46.1-alpine
63+
spamoor: ethpandaops/spamoor:master-latest
64+
blobber: ethpandaops/blobber:latest
65+
syncoor_web: docker.ethquokkaops.io/gh/ethpandaops/syncoor-web:master
66+
syncoor_server: docker.ethquokkaops.io/gh/ethpandaops/syncoor:master
Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
# role: ethpandaops.general.bootstrap
2+
bootstrap_default_user_authorized_keys_github_team_el:
3+
- garyschulte
4+
- jflo
5+
- fab-10
6+
- matkt
7+
- Gabriel-Trintinalia
8+
- siladu
9+
- pinges
10+
- jframe
11+
- ahamlat
12+
- macfarla
13+
- daniellehrner
14+
- kkaur01
15+
- joshuafernandes
16+
17+
# role: ethpandaops.general.ethereum_node
18+
ethereum_node_el: besu
19+
# role: ethpandaops.general.besu
20+
besu_container_name: execution
21+
besu_container_image: "{{ default_ethereum_client_images.besu }}"
22+
besu_container_env:
23+
VIRTUAL_HOST: "{{ ethereum_node_rcp_hostname }}"
24+
VIRTUAL_PORT: "{{ ethereum_node_el_ports_http_rpc | string }}"
25+
LETSENCRYPT_HOST: "{{ ethereum_node_rcp_hostname }}"
26+
besu_container_volumes:
27+
- "{{ besu_datadir }}:/data"
28+
- "{{ besu_auth_jwt_path }}:/execution-auth.jwt:ro"
29+
- "{{ eth_testnet_config_dir }}:/network-config:ro"
30+
besu_container_command_extra_args:
31+
- --genesis-file=/network-config/besu.json
32+
- --bootnodes={{ ethereum_el_bootnodes | join(',') }}
33+
- --rpc-http-api=ADMIN,DEBUG,ETH,MINER,NET,TRACE,TXPOOL,WEB3
34+
- --sync-mode=FULL
35+
- --data-storage-format=BONSAI
36+
- --bonsai-limit-trie-logs-enabled=false
37+
besu_container_pull: true
38+
39+
prometheus_config: |
40+
global:
41+
scrape_interval: 12s
42+
evaluation_interval: 30s
43+
scrape_timeout: 10s
44+
external_labels:
45+
instance: "{{ ethereum_network_name }}-{{ inventory_hostname }}"
46+
ip_address: "{{ ansible_host }}"
47+
network: "{{ ethereum_network_name }}"
48+
testnet: "{{ ethereum_network_name }}"
49+
execution_client: "{{ ethereum_node_el }}"
50+
consensus_client: "{{ ethereum_node_cl }}"
51+
supernode: "{{ ethereum_node_cl_supernode_enabled | bool | default(false) }}"
52+
remote_write:
53+
- queue_config:
54+
batch_send_deadline: 5s
55+
max_backoff: 500ms
56+
max_samples_per_send: 500
57+
min_backoff: 50ms
58+
max_shards: 100
59+
url: {{ prometheus_remote_push_url }}
60+
remote_timeout: 10s
61+
basic_auth:
62+
username: {{ prometheus_remote_write_username }}
63+
password: {{ prometheus_remote_write_password }}
64+
scrape_configs:
65+
- job_name: "prometheus"
66+
metrics_path: "/metrics"
67+
static_configs:
68+
- targets: ["localhost:9090"]
69+
labels:
70+
instance: "{{ ethereum_network_name }}-{{ inventory_hostname }}"
71+
- job_name: "node"
72+
metrics_path: "/metrics"
73+
static_configs:
74+
- targets: ["172.17.0.1:9100"]
75+
labels:
76+
instance: "{{ ethereum_network_name }}-{{ inventory_hostname }}"
77+
- job_name: "exporter"
78+
metrics_path: "/metrics"
79+
static_configs:
80+
- targets: ["ethereum-metrics-exporter:9090"]
81+
labels:
82+
instance: "{{ ethereum_network_name }}-{{ inventory_hostname }}"
83+
- job_name: "consensus_node"
84+
metrics_path: "/metrics"
85+
static_configs:
86+
- targets: ["{{ vars[ethereum_node_cl + '_container_name'] }}:{{ ethereum_node_cl_ports_metrics }}"]
87+
labels:
88+
instance: "{{ ethereum_network_name }}-{{ inventory_hostname }}"
89+
- job_name: "execution"
90+
metrics_path: "/metrics"
91+
static_configs:
92+
- targets: ["execution:{{ ethereum_node_el_ports_metrics }}"]
93+
labels:
94+
instance: "{{ ethereum_network_name }}-{{ inventory_hostname }}"
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
blobber_container_image: "{{ default_tooling_images.blobber }}"
2+
3+
blobber_log_level: trace
4+
5+
ethereum_node_blobber_enabled: true
6+
7+
# Storage configs
8+
blobber_datadir: /data/blobber
9+
blobber_validator_local_key_folder: "{{ ansible_inventory_sources[0] | dirname }}/files/validator_keys/{{ inventory_hostname }}"
10+
blobber_validator_remote_key_folder: "{{ blobber_datadir }}/validators"
11+
12+
blobber_container_volumes:
13+
- "{{ blobber_datadir }}:/data"
14+
15+
# Blobber specific configs
16+
blobber_beacon_api: "beacon:5052"
17+
#blobber_slot_actions: {"name": "equivocating_blob_sidecars", "broadcast_blobs_first": true}
18+
#blobber_slot_actions: {"name": "conflicting_blobs"}
19+
blobber_slot_actions: {"name": "blob_gossip_delay", "delay_milliseconds": 1500}
20+
blobber_slot_action_frequency: 1
21+
22+
blobber_container_ports:
23+
- "{{ blobber_p2p_port }}:{{ blobber_p2p_port }}"
24+
- "{{ blobber_p2p_port }}:{{ blobber_p2p_port }}/udp"
25+
- "{{ blobber_p2p_port + 1 }}:{{ blobber_p2p_port }}"
26+
- "{{ blobber_p2p_port + 1 }}:{{ blobber_p2p_port }}/udp"
27+
- "{{ blobber_p2p_port + 2 }}:{{ blobber_p2p_port }}"
28+
- "{{ blobber_p2p_port + 2 }}:{{ blobber_p2p_port }}/udp"
29+
- "{{ blobber_p2p_port + 3 }}:{{ blobber_p2p_port }}"
30+
- "{{ blobber_p2p_port + 3 }}:{{ blobber_p2p_port }}/udp"
31+
- "{{ blobber_p2p_port + 4 }}:{{ blobber_p2p_port }}"
32+
- "{{ blobber_p2p_port + 4 }}:{{ blobber_p2p_port }}/udp"
33+
- "{{ blobber_p2p_port + 5 }}:{{ blobber_p2p_port }}"
34+
- "{{ blobber_p2p_port + 5 }}:{{ blobber_p2p_port }}/udp"
35+
- "127.0.0.1:{{ blobber_api_listen_port }}:{{ blobber_api_listen_port }}"
36+
37+
# - "--cl=https://{{ secret_nginx_shared_basic_auth.name }}:{{ secret_nginx_shared_basic_auth.password }}@{{ ethereum_node_beacon_prefix }}lighthouse-geth-1.{{ network_server_subdomain }}"
38+
# - "--cl=https://{{ secret_nginx_shared_basic_auth.name }}:{{ secret_nginx_shared_basic_auth.password }}@{{ ethereum_node_beacon_prefix }}lighthouse-besu-1.{{ network_server_subdomain }}"
39+
# - "--cl=https://{{ secret_nginx_shared_basic_auth.name }}:{{ secret_nginx_shared_basic_auth.password }}@{{ ethereum_node_beacon_prefix }}lighthouse-erigon-1.{{ network_server_subdomain }}"
40+
# - "--cl=https://{{ secret_nginx_shared_basic_auth.name }}:{{ secret_nginx_shared_basic_auth.password }}@{{ ethereum_node_beacon_prefix }}lighthouse-nethermind-1.{{ network_server_subdomain }}"
41+
# - "--cl=https://{{ secret_nginx_shared_basic_auth.name }}:{{ secret_nginx_shared_basic_auth.password }}@{{ ethereum_node_beacon_prefix }}lighthouse-reth-1.{{ network_server_subdomain }}"
42+
blobber_container_command:
43+
- "--cl={{ blobber_beacon_api }}"
44+
- "--beacon-port-start={{ blobber_p2p_port }}"
45+
- "--log-level={{ blobber_log_level }}"
46+
- "--external-ip=0.0.0.0"
47+
- "--slot-action={{ blobber_slot_actions | to_json }}"
48+
- "--slot-action-frequency={{ blobber_slot_action_frequency }}"
49+
- "--validator-key-folder=/data/validators"
50+
- "--validator-proxy-port-start={{ blobber_api_listen_port }}"
51+
- "--enable-unsafe-mode"
52+
53+
blobber_container_command_extra_args: []
54+
55+
# Default image pull policy
56+
blobber_container_pull: false

0 commit comments

Comments
 (0)