Skip to content

z3n-chada/etc-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

etc-utils

Ethereum testnet configuration utilities. Used for making quick docker based ethereum testnets.

Initial setup:

  1. make docker
  2. make client-dockers

How to run a scenario (testing-config.yaml in this example)

Regular mode

  1. sudo make clean
  2. make run-docker-config
  3. (in docker) python3 /source/modules/python/create_scenario.py --config /source/configs/testing-config.yaml --docker
  4. (in docker) exit
  5. (in project root directory on host) docker-compose up --force-recreate

Bootstrap-mode

Bootstrap mode creates a docker-compose.yaml that contains a container that builds the testnet data for you.

  1. sudo make clean
  2. make run-docker-config
  3. (in docker) python3 /source/modules/python/create_scenario.py --config /source/configs/testing-config.yaml --docker --bootstrap-mode
  4. (in docker) exit
  5. (in project root directory on host) docker-compose up --force-recreate

Configs

Config files for generating local_testnets.

Clients

Currently you can easily set up prysm, lighthouse, and teku beacon/validator combos. Additionally there is a status-checker

To enable this feature just set status-checker: enabled: True under scripts in the config file you are using. The code for this can be found in the scripts/status_checker.py

Scripts

A generic client that just starts up a docker image with the entrypoint that you define. You must also specify the source of the script and its destination to be copied to. The source and be a list if you need multiple modules.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published