Skip to content

namada-net/namada-resilience-test

 
 

Repository files navigation

Namada Resilience test

This is a fully containerized "devnet" that runs 3 validator nodes, a full node, MASP indexer, Hermes (IBC relayer), Gaia (Cosmos chain), a workload process as clients, and check process. It is primarily used for testing.

components

Use this

  1. Make sure you build the corresponding container images
  • namada-genesis - Used to perform the genesis ceremony, initiate the network (creating the chain) and joining the validators
  • namada - Mostly for running namadan ledger run command to start/join the ledger node
  1. Run run.sh in the top directory
    • Or run local.sh with your test configurations

How it works

  1. The namada-genesis container performs the genesis ceremony and prepares the base-dir for all validators
  2. It "tells" each validator when these preparations are ready by creating a file inside of a commonly volume mounted directory container_ready
  3. Each validator container waits for its base-dir to be populated and start/joins the ledger node namadan ledger run

Caveats/Observations/Feedbacks

  1. The genesis ceremony needs to be run from the namada directory as its working directory (https://github.com/anoma/namada), this copies the right .wasm artifacts
  2. The $CHAIN_ID.tar.gz archive is created in whatever working directory we are in...

About

Chaos testing for Namada

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 90.7%
  • Shell 5.8%
  • Dockerfile 3.2%
  • Makefile 0.3%