informalsystems / informalsystems/testnets

Add ability to fetch Tendermint config/data from nodes

Open
#7 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
14
Forks
2
PR merge metrics
No merged PRs in 30d

Description

Sometimes we'd want to be able to grab all of the configuration/data from the Tendermint nodes we're testing. We should have a `tmtestnet network fetch_tmhome` command that will go to all desired Tendermint nodes and fetch their Tendermint home directories (this will be in `/home/tendermint/.tendermint`), bringing all of their configuration/data back to the local machine.

```bash
# Fetch all Tendermint node groups' config/data
./tmtestnet.py network fetch_tmhome /save/me/here

# Fetch specific node and node groups' config/data
./tmtestnet.py network fetch_tmhome /save/me/here my_validators "my_seeds[0]"
```

For this we'll most likely need an additional [Ansible script](https://github.com/interchainio/testnets/tree/master/tendermint/ansible) (perhaps `fetch-tmhome.yaml`).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.