Skip to content

Commit

Permalink
Feat: Initial devnet-0
Browse files Browse the repository at this point in the history
  • Loading branch information
samcm committed May 15, 2024
1 parent afdf86d commit ca3a5c0
Show file tree
Hide file tree
Showing 23 changed files with 100,283 additions and 347 deletions.
6 changes: 4 additions & 2 deletions ansible/inventories/devnet-0/group_vars/all/all.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,16 @@ ethereum_genesis_generator_config_files:
export EL_AND_CL_MNEMONIC="{{ ethereum_genesis_mnemonic }}"
export CL_EXEC_BLOCK="0"
export DEPOSIT_CONTRACT_BLOCK="0x0000000000000000000000000000000000000000000000000000000000000000"
export NUMBER_OF_VALIDATORS=200
export NUMBER_OF_VALIDATORS=400
export GENESIS_FORK_VERSION="0x10{{ ethereum_genesis_fork_version_suffix }}"
export ALTAIR_FORK_VERSION="0x20{{ ethereum_genesis_fork_version_suffix }}"
export BELLATRIX_FORK_VERSION="0x30{{ ethereum_genesis_fork_version_suffix }}"
export CAPELLA_FORK_VERSION="0x40{{ ethereum_genesis_fork_version_suffix }}"
export DENEB_FORK_VERSION="0x50{{ ethereum_genesis_fork_version_suffix }}"
export ELECTRA_FORK_VERSION="0x60{{ ethereum_genesis_fork_version_suffix }}"
export ELECTRA_FORK_EPOCH="5"
export EIP7594_FORK_VERSION="0x70{{ ethereum_genesis_fork_version_suffix }}"
export ELECTRA_FORK_EPOCH="50000000000"
export EIP7594_FORK_EPOCH=0
export WITHDRAWAL_TYPE="0x00"
export WITHDRAWAL_ADDRESS={{ ethereum_genesis_validator_bls_change_execution_address }}
export BEACON_STATIC_ENR=""
Expand Down
6 changes: 3 additions & 3 deletions ansible/inventories/devnet-0/group_vars/all/images.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
default_ethereum_client_images:
### Consensus layer clients
lighthouse: sigp/lighthouse:latest
lighthouse: ethpandaops/lighthouse:das
lodestar: chainsafe/lodestar:latest
nimbus: statusim/nimbus-eth2:multiarch-latest
prysm: gcr.io/prysmaticlabs/prysm/beacon-chain:latest
prysm: ethpandaops/prysm-beacon-chain:peerdas
prysm_validator: gcr.io/prysmaticlabs/prysm/validator:latest
teku: consensys/teku:latest
grandine: ethpandaops/grandine:develop
Expand Down Expand Up @@ -34,4 +34,4 @@ default_tooling_images:
blobscan_indexer: blossomlabs/blobscan-indexer:latest
dora: ethpandaops/dora:master
dugtrio: ethpandaops/dugtrio:latest
ethereum_genesis_generator: ethpandaops/ethereum-genesis-generator:3.0.2
ethereum_genesis_generator: ethpandaops/ethereum-genesis-generator:3.1.4
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
lighthouse_container_command_extra_args:
- --subscribe-all-data-column-subnets
65 changes: 65 additions & 0 deletions ansible/inventories/devnet-0/inventory.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
localhost

[all:vars]
ethereum_network_name=peerdas-devnet-0

[bootnode]
bootnode-1 ansible_host=159.223.150.131 ipv6=2604:a880:400:d0::17ef:c001 cloud=digitalocean cloud_region=nyc1

[lighthouse_geth]
lighthouse-geth-1 ansible_host=67.205.170.194 ipv6=2604:a880:400:d0::1e42:a001 cloud=digitalocean cloud_region=nyc1 validator_start=0 validator_end=100

[lighthouse_geth_supernode]
lighthouse-geth-supernode-1 ansible_host=147.182.166.135 ipv6=2604:a880:400:d0::170f:6001 cloud=digitalocean cloud_region=nyc1

[lighthouse_nethermind]
lighthouse-nethermind-1 ansible_host=137.184.156.14 ipv6=2604:a880:400:d0::1e02:9001 cloud=digitalocean cloud_region=nyc1 validator_start=100 validator_end=200

[prysm_geth]
prysm-geth-1 ansible_host=174.138.34.94 ipv6=2604:a880:400:d0::1ec5:8001 cloud=digitalocean cloud_region=nyc1 validator_start=200 validator_end=300

[prysm_nethermind]
prysm-nethermind-1 ansible_host=146.190.210.24 ipv6=2604:a880:400:d0::1dfb:a001 cloud=digitalocean cloud_region=nyc1 validator_start=300 validator_end=400


# Consensus client groups

[lighthouse:children]
lighthouse_geth
lighthouse_geth_supernode
lighthouse_nethermind
[lodestar:children]
[nimbus:children]
[teku:children]
[prysm:children]
prysm_geth
prysm_nethermind
[grandine:children]

# Execution client groups

[besu:children]
[ethereumjs:children]
[geth:children]
lighthouse_geth
lighthouse_geth_supernode
prysm_geth
[nethermind:children]
lighthouse_nethermind
prysm_nethermind
[erigon:children]
[reth:children]

# Global groups

[consensus_node:children]
lighthouse
prysm

[execution_node:children]
geth
nethermind

[ethereum_node:children]
consensus_node
execution_node
16 changes: 8 additions & 8 deletions ansible/playbook.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
- hosts: localhost
roles:
- role: ethpandaops.general.ethereum_genesis
tags: [ethereum_genesis]
# - hosts: localhost
# roles:
# - role: ethpandaops.general.ethereum_genesis
# tags: [ethereum_genesis]

- import_playbook: ethpandaops.general.bootstrap_server
vars:
target: "all:!localhost"
tags: [init-server, bootstrap]
# - import_playbook: ethpandaops.general.bootstrap_server
# vars:
# target: "all:!localhost"
# tags: [init-server, bootstrap]

- hosts: all:!localhost
serial: "{{ batch_count | default('100%') }}"
Expand Down
Loading

0 comments on commit ca3a5c0

Please sign in to comment.