Skip to content

Commit

Permalink
feat: preparing for chain upgrade (#37)
Browse files Browse the repository at this point in the history
* Update network configuration for chain upgrade

Added additional files to .gitignore, including .venv and .env. Updated genesis.json with new parameters and validators. Documented detailed validator information in README and archived the old genesis configuration.

* revert operators list on README.md

* Update nodes in staging genesis.json
  • Loading branch information
outerlook authored Nov 21, 2024
1 parent 47dc046 commit b55468d
Show file tree
Hide file tree
Showing 4 changed files with 127 additions and 13 deletions.
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# IDEs
.idea
.vscode
.vscode
.venv
.env
# directory to store local development files
gitignore
2 changes: 1 addition & 1 deletion configs/network/staging/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ The `node_pubkey` in the `network-nodes.csv` file is represented in raw hexadeci

For information on transforming these public keys to other formats used in node configurations, please refer to the CometBFT documentation on public key cryptography:

https://docs.cometbft.com/v0.38/spec/core/encoding#public-key-cryptography
https://docs.cometbft.com/v0.38/spec/core/encoding#public-key-cryptography
85 changes: 74 additions & 11 deletions configs/network/staging/genesis.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"genesis_time": "2024-08-08T15:24:23.773191969Z",
"chain_id": "tsn-staging",
"initial_height": 0,
"app_hash": null,
"genesis_time": "2024-11-21T17:42:48.884377433Z",
"chain_id": "truflation-staging-v2",
"initial_height": 1,
"app_hash": "/a3xy/EYe8BFuxJiabC7yOG4jphP6KOhr5tnF5ZGx4c=",
"activations": null,
"consensus_params": {
"block": {
Expand All @@ -15,17 +15,15 @@
"max_age_duration": 172800000000000,
"max_bytes": 1048576
},
"version": {
"app": 0
},
"validator": {
"pub_key_types": [
"ed25519"
],
"join_expiry": 14400
"join_expiry": 100800
},
"votes": {
"vote_expiry": 28800
"vote_expiry": 100800,
"max_votes_per_tx": 100
},
"abci": {
"vote_extensions_enable_height": 0
Expand All @@ -36,12 +34,77 @@
{
"pub_key": "4e0b5c952be7f26698dc1898ff3696ac30e990f25891aeaf88b0285eab4663e1",
"power": 1,
"name": "tsn-node-1"
"name": "truflation-node-01"
},
{
"pub_key": "0c830b69790eaa09315826403c2008edc65b5c7132be9d4b7b4da825c2a166ae",
"power": 1,
"name": "tsn-node-2"
"name": "truflation-node-02"
},
{
"pub_key": "dc2240baa54023b06a3cfa95a5d0c8fccff6f5cd6b918e91bc9f4788cc3fc2cc",
"power": 1,
"name": "kwilteam0"
},
{
"pub_key": "efa792bf1c3d39820bd901a83756fa3a35942945c3d614a08017549792a842bb",
"power": 1,
"name": "Simply Staking"
},
{
"pub_key": "8f5b6ca7e5cf4c38373ababf6cea03383d610cf22e33283c55dce5a14dc80d0e",
"power": 1,
"name": "Allnodes.dev"
},
{
"pub_key": "f2a67c72c8c1ddd4a60541e725db9aaffbb567e328ea4e685ea67dc56fb3337b",
"power": 1,
"name": "Laguna-Node-01"
},
{
"pub_key": "b1e75c2305bc539b781950a8ef4218fb8830e47abc07ff1a4d2d870e809e1323",
"power": 1,
"name": "Knit-Node-01"
},
{
"pub_key": "faa49ddc6e145687e17dc51183c8cb4dfe7efc56ff17da8258135cf3a12a0945",
"power": 1,
"name": "Hydrox-Node-01"
},
{
"pub_key": "be177e0505be04b3d84980d36e717fa3c24878df5a242a136c3583d10cc83687",
"power": 1,
"name": "Trustednode-Node-01"
},
{
"pub_key": "59b398749cbeb982c565d7807ebd4b764e2042bc3d48cf9bf876a4333e2c404e",
"power": 1,
"name": "Link River"
},
{
"pub_key": "8096bc52f64624a8caef73d4817f1abff8832467075f5134ce28bec134567e4b",
"power": 1,
"name": "Linkpool"
},
{
"pub_key": "df817faabddf5ccdc883458c93d1b0fd3eaa4de3f6119c38ddc7b88ba0c83a04",
"power": 1,
"name": "TruLabs-Node-01"
},
{
"pub_key": "ebe48104aa52a2f4c361a3b1ae8ca46e5df957fa8c3492ffb1fd9653a7b26894",
"power": 1,
"name": "Stakin"
},
{
"pub_key": "f4e931c0029ad25486259a49d287d0dd4002c3f92f4961292e0321fc88080f12",
"power": 1,
"name": "Node Stake"
},
{
"pub_key": "eee4ec38245dc931e47c01e1b33c7a9d7beb8b7830be974c3a097ac0820a5923",
"power": 1,
"name": "Usher labs"
}
]
}
47 changes: 47 additions & 0 deletions configs/network/staging/old/old-genesis.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"genesis_time": "2024-08-08T15:24:23.773191969Z",
"chain_id": "tsn-staging",
"initial_height": 0,
"app_hash": null,
"activations": null,
"consensus_params": {
"block": {
"max_bytes": 6291456,
"max_gas": -1,
"abci_max_bytes": false
},
"evidence": {
"max_age_num_blocks": 100000,
"max_age_duration": 172800000000000,
"max_bytes": 1048576
},
"version": {
"app": 0
},
"validator": {
"pub_key_types": [
"ed25519"
],
"join_expiry": 14400
},
"votes": {
"vote_expiry": 28800
},
"abci": {
"vote_extensions_enable_height": 0
},
"without_gas_costs": true
},
"validators": [
{
"pub_key": "4e0b5c952be7f26698dc1898ff3696ac30e990f25891aeaf88b0285eab4663e1",
"power": 1,
"name": "tsn-node-1"
},
{
"pub_key": "0c830b69790eaa09315826403c2008edc65b5c7132be9d4b7b4da825c2a166ae",
"power": 1,
"name": "tsn-node-2"
}
]
}

0 comments on commit b55468d

Please sign in to comment.