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

chore: Add Gno Core validators in genesis and peers references #3098

Merged
Show file tree
Hide file tree
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
8 changes: 8 additions & 0 deletions misc/deployments/test5.gno.land/CHECKLIST.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Checklist Test5
zivkovicmilos marked this conversation as resolved.
Show resolved Hide resolved

[ ] Collect all validators keys for genesis
[ ] Collect all balances for genesis
[ ] Generate Final Genesis File
[ ] Collect list of public peer nodes for configurations
[ ] Generete Release Docker Images of Gnoland for test5
[ ] Change DNS entries
17 changes: 14 additions & 3 deletions misc/deployments/test5.gno.land/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Overview
# Overview

This deployment folder contains minimal information needed to launch a full test5.gno.land validator node.

Expand Down Expand Up @@ -29,6 +29,7 @@ Some configuration params are required, while others are advised to be set.

- `moniker` - the recognizable identifier of the node.
- `consensus.timeout_commit` - the timeout value after the consensus commit phase. ⚠️ **Required to be `1s`** ⚠️.
- `conseuns.peer_gossip_sleep_duration` - the timeout for peer gossip. ⚠️ **Required to be `10ms`** ⚠️.
- `mempool.size` - the maximum number of txs in the mempool. **Advised to be `10000`**.
- `p2p.laddr` - the listen address for P2P traffic, **specific to every node deployment**. It is advised to use a
reverse-proxy, and keep this value at `tcp://0.0.0.0:<port>`.
Expand All @@ -39,8 +40,18 @@ Some configuration params are required, while others are advised to be set.
- `p2p.external_address` - the advertised peer dial address. If empty, will use the same port as the `p2p.laddr`. This
value should be **changed to `{{ your_ip_address }}:26656`**
- `p2p.flush_throttle_timeout` - the timeout for flushing multiplex data. ⚠️ **Required to be `10ms`** ⚠️.
- `p2p.peer_gossip_sleep_duration` - the timeout for peer gossip. ⚠️ **Required to be `10ms`** ⚠️.
- `rpc.laddr` - the JSON-RPC listen address, **specific to every node deployment**.
- `telemetry.enabled` - flag indicating if telemetry should be turned on. **Advised to be `true`**.
- `telemetry.exporter_endpoint` - endpoint for the otel exported. ⚠️ **Required if `telemetry.enabled=true`** ⚠️.
- `telemetry.service_instance_id` - unique ID of the node telemetry instance, **specific to every node deployment**.
- `telemetry.service_instance_id` - unique ID of the node telemetry instance, **specific to every node deployment**.

## Gno Core DNS entries

- CNAME test5.gno.land a78095e89431e41f2b506544efd9f79e-dd80971e7e1cf6bc.elb.eu-central-1.amazonaws.com
- CNAME rpc.test5.gno.land test5.gno.land
- CNAME gno-core-sen-01.test5.gno.land test5.gno.land
- CNAME gno-core-sen-02.test5.gno.land test5.gno.land
- CNAME gno-core-sen-03.test5.gno.land test5.gno.land
- CNAME indexer.test5.gno.land test5.gno.land
- CNAME gnofaucet.test5.gno.land test5.gno.land
- CNAME o11y.test5.gno.land test5.gno.land (Grafana)
6 changes: 5 additions & 1 deletion misc/deployments/test5.gno.land/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,11 @@ max_num_outbound_peers = 40 # Advised value is 40
max_packet_msg_payload_size = 1024

# Comma separated list of nodes to keep persistent connections to
persistent_peers = "" # TODO update @Salvo, @Blake, @Sergio, @Norman, @Albert
persistent_peers = "
g16384atcuf6ew3ufpwtvhymwfyl2aw390aq8jtt@gno-core-sen-01.test5.gno.land:26656,
g1ty443uhf6qr2n0gv3dkemr4slt96e5hnmx90qh@gno-core-sen-02.test5.gno.land:26656,
g19x2gsyn02fldtq44dpgtcq2dq28kszlf5jn2es@gno-core-sen-03.test5.gno.land:26656,
" # TODO update @Salvo, @Blake, @Sergio, @Norman, @Albert

# Set true to enable the peer-exchange reactor
pex = false # Should be `false` if using a sentry node. Otherwise `true`!
Expand Down
58 changes: 57 additions & 1 deletion misc/deployments/test5.gno.land/genesis.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,62 @@
]
}
},
"validators": [
{
"address": "g1qn3jwvdpva622j3fyudqy65zstnqx2wnqhrs3s",
"pub_key": {
"@type": "/tm.PubKeyEd25519",
"value": "zaBcr0biE2vRjIopHCLtDgte/5tKuCEdlBLvmfgRuZI="
},
"power": "1",
"name": "gnocore-val-01"
},
{
"address": "g1gtu9czw9qavrtdnf936usvwjwyjz0x0jk243au",
"pub_key": {
"@type": "/tm.PubKeyEd25519",
"value": "VI8ITXN0TXGvOBjCbu5Rmus5zzqn79ws7AQeIqr6t2o="
},
"power": "1",
"name": "gnocore-val-02"
},
{
"address": "g19emxxnzzfa0pkffvthrss5drgccjnwj8mdme4f",
"pub_key": {
"@type": "/tm.PubKeyEd25519",
"value": "KOdOfBaohI3Vc4JXfn/IhNzu0xcHpQLLDUpdeONtV5k="
},
"power": "1",
"name": "gnocore-val-03"
},
{
"address": "g1hyxtsgjr5zt06jcx4z0xenn3u442ad2xgzu7lp",
"pub_key": {
"@type": "/tm.PubKeyEd25519",
"value": "kruC6RrR7xeto1qc9guTHFCtRylfZumW4ohSYdQLJvY="
},
"power": "1",
"name": "gnocore-val-04"
},
{
"address": "g1l072ma0vfhx7s4vpevfvuxd6wzkv5ztt7gh99w",
"pub_key": {
"@type": "/tm.PubKeyEd25519",
"value": "LYKKNTZyLdOaIvnek1yoSxqnIU4dEjh3Xd+wd4Ru2lc="
},
"power": "1",
"name": "gnocore-val-05"
},
{
"address": "g1uwqd3284kuzm56auwyc9d87jf3953tp9pnt506",
"pub_key": {
"@type": "/tm.PubKeyEd25519",
"value": "nNt5eD77biTXnPj4/qt0CA83qJfRbPJsYIGY8X0o+vA="
},
"power": "1",
"name": "gnocore-val-06"
}
],
"app_hash": null,
"app_state": {
"@type": "/gno.GenesisState",
Expand Down Expand Up @@ -56,4 +112,4 @@
],
"txs": null
}
}
}
Loading