Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update testnet.mdx #106

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 1 addition & 16 deletions docs/validate/testnet.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -121,22 +121,7 @@ For more information on seeds and peers, you can the Tendermint
### Add Persistent Peers

We can set the [`persistent_peers`](https://docs.tendermint.com/v0.34/tendermint-core/using-tendermint.html#persistent-peer) field in `~/.evmosd/config/config.toml` to specify peers that your node will maintain persistent
connections with. You can retrieve them from the list of
available peers on the [`testnets`](https://github.com/evmos/testnets) repo.

A list of available persistent peers is also available in the `#find-peers` channel in the
[Evmos Discord](https://discord.gg/evmos). You can get a random 10 entries from the `peers.txt`
file in the `PEERS` variable by running the following command:

```bash
PEERS=`curl -sL https://raw.githubusercontent.com/evmos/testnets/main/evmos_9000-4/peers.txt | sort -R | head -n 10 | awk '{print $1}' | paste -s -d, -`
```
Comment on lines -130 to -133
Copy link
Contributor

@GAtom22 GAtom22 Jul 24, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The discord channel no longer exists, is OK to remove it. But the txt file on the GH link is still there. Please, only remove the discord section


Use `sed` to include them into the configuration. You can also add them manually:

```bash
sed -i.bak -e "s/^persistent_peers *=.*/persistent_peers = \"$PEERS\"/" ~/.evmosd/config/config.toml
```
connections with.

## Run a Testnet Validator

Expand Down