From 22896b540c6d1ad072032f6c3032950d54496c30 Mon Sep 17 00:00:00 2001 From: Marutyan Samvel <48280694+itrocket-team@users.noreply.github.com> Date: Sun, 31 Mar 2024 00:04:19 +0400 Subject: [PATCH 1/3] Updated the version check command --- testnet/upgrades/v4.2.0/90u-4.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testnet/upgrades/v4.2.0/90u-4.md b/testnet/upgrades/v4.2.0/90u-4.md index f4cd379..9a26da2 100644 --- a/testnet/upgrades/v4.2.0/90u-4.md +++ b/testnet/upgrades/v4.2.0/90u-4.md @@ -13,7 +13,7 @@ make install confirm binary is installed: ```sh -terpd version +terpd version head --long | grep -e version -e commit # should return: # commit: dfb1cbd64be3dd7e59320a2b7997608eacb6a5c0 # cosmos_sdk_version: v0.47.5 @@ -79,4 +79,4 @@ sudo systemctl enable terpd sudo systemctl restart terpd && sudo journalctl -u terpd -f ``` -this is a basic example, please take in to consideration any specific setup your node has to prevent data-loss. \ No newline at end of file +this is a basic example, please take in to consideration any specific setup your node has to prevent data-loss. From 3333463351399eb192f7dc7bdbfe533b4d205644 Mon Sep 17 00:00:00 2001 From: hard-nett Date: Sat, 20 Sep 2025 13:13:26 -0400 Subject: [PATCH 2/3] prep for v5 upgrade --- mainnet/README.md | 2 +- mainnet/upgrades/v5/cosmovisor.json | 6 +++++ mainnet/upgrades/v5/guide.md | 35 +++++++++++++++++++++++++++++ testnet/upgrades/v4.2.0/90u-4.md | 7 +++--- 4 files changed, 46 insertions(+), 4 deletions(-) create mode 100644 mainnet/upgrades/v5/cosmovisor.json create mode 100644 mainnet/upgrades/v5/guide.md diff --git a/mainnet/README.md b/mainnet/README.md index 5032164..10e22ec 100644 --- a/mainnet/README.md +++ b/mainnet/README.md @@ -8,7 +8,7 @@ | Chain ID | Type | Status | Version | Notes | |---------------------------------------|-----------|--------|---------------|-----------------| -| [morocco-1](./morocco-1) | *mainnet* | Current | `v4.2.0` | Current mainnet | +| [morocco-1](./morocco-1) | *mainnet* | Current | `v5.0.0` | Current mainnet | ## Testnets diff --git a/mainnet/upgrades/v5/cosmovisor.json b/mainnet/upgrades/v5/cosmovisor.json new file mode 100644 index 0000000..662171f --- /dev/null +++ b/mainnet/upgrades/v5/cosmovisor.json @@ -0,0 +1,6 @@ +{ + "binaries": { + "linux/arm64": "https://github.com/terpnetwork/terp-core/releases/download/v5.0.0/terpd-linux-arm64?checksum=sha256:", + "linux/amd64": "https://github.com/terpnetwork/terp-core/releases/download/v5.0.0/terpd-linux-amd64?checksum=sha256:" + } +} \ No newline at end of file diff --git a/mainnet/upgrades/v5/guide.md b/mainnet/upgrades/v5/guide.md new file mode 100644 index 0000000..804dbe8 --- /dev/null +++ b/mainnet/upgrades/v5/guide.md @@ -0,0 +1,35 @@ +# Terp-Core v5 - Eudesmol Upgrade + +| | | +|-----------------|--------------------------------------------------------------| +| Chain-id | `morocco-1` | +| Upgrade Version | `v5` | +| Upgrade Height | `14154953` | + +The target block for this upgrade is `14154953`, which is expected to arrive at 11:00UTC Monday, September 28th ~ 1 PM UTC [Go Playground](https://go.dev/play/p/_sLXYhtcPGn) + +## Building Manually + +```sh +cd terp-core +cd terp-core && git pull && git checkout v5.0.0 +make build && make install + +terpd version --long | grep "cosmos_sdk_veresion/|commit\|version:" +# commit: +# cosmos_sdk_version: v0.53.4 +# version: 5.0.0 + +mkdir -P $DAEMON_HOME/cosmovisor/upgrades/v5/bin && cp $HOME/go/bin/terpd $DAEMON_HOME/cosmovisor/upgrades/v5/bin + +$DAEMON_HOME/cosmovisor/upgrades/v5/bin/terpd version +``` + +## Downloading Precompiled Build + +```sh +rm -rf terpd_linux_amd64.tar.gz # delete if exists +wget https://github.com/terpnetwork/terp-core/releases/download/v5.0.0/terpd-linux-amd64.tar.gz +sha256sum terpd-linux-amd64.tar.gz +# Output terpd-linux-amd64.tar.gz +``` diff --git a/testnet/upgrades/v4.2.0/90u-4.md b/testnet/upgrades/v4.2.0/90u-4.md index f4cd379..da51c5e 100644 --- a/testnet/upgrades/v4.2.0/90u-4.md +++ b/testnet/upgrades/v4.2.0/90u-4.md @@ -13,7 +13,7 @@ make install confirm binary is installed: ```sh -terpd version +terpd version head --long | grep -e version -e commit # should return: # commit: dfb1cbd64be3dd7e59320a2b7997608eacb6a5c0 # cosmos_sdk_version: v0.47.5 @@ -40,16 +40,17 @@ sha256sum $HOME/.terp/config/genesis.json ``` setup peers & rpc ```sh +seeds="a6ee57fb457f71530d165afd1901d0d62cd7d7e0@terp-testnet-seed.itrocket.net:13656" peers="51d48be3809bb8907c1ef5f747e53cdd0c9ded1b@terp-testnet-peer.itrocket.net:13656,57d7ad4f7d482655c497ca61378df8333868d0a4@testnet-peer.terp.network:26656" ``` add peers to `config.toml` ```sh -sed -i.bak -e "s/^persistent_peers *=.*/persistent_peers = \"$peers\"/" $HOME/.terp/config/config.toml +sed -i.bak -e "s/^seeds *=.*/seeds = \"$SEEDS\"/; "s/^persistent_peers *=.*/persistent_peers = \"$peers\"/" $HOME/.terp/config/config.toml ``` your node should now be ready for `90u-4`. -``` +```sh terpd config chain-id 90u-4 ``` From 43efefa246ece56fa744261a09cae407884501f8 Mon Sep 17 00:00:00 2001 From: hard-nett Date: Sun, 21 Sep 2025 23:48:52 -0400 Subject: [PATCH 3/3] checksum & improved time --- mainnet/upgrades/v5/cosmovisor.json | 4 ++-- mainnet/upgrades/v5/guide.md | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/mainnet/upgrades/v5/cosmovisor.json b/mainnet/upgrades/v5/cosmovisor.json index 662171f..1bdd920 100644 --- a/mainnet/upgrades/v5/cosmovisor.json +++ b/mainnet/upgrades/v5/cosmovisor.json @@ -1,6 +1,6 @@ { "binaries": { - "linux/arm64": "https://github.com/terpnetwork/terp-core/releases/download/v5.0.0/terpd-linux-arm64?checksum=sha256:", - "linux/amd64": "https://github.com/terpnetwork/terp-core/releases/download/v5.0.0/terpd-linux-amd64?checksum=sha256:" + "linux/arm64": "https://github.com/terpnetwork/terp-core/releases/download/v5.0.0/terpd-linux-arm64?checksum=sha256:4ceb38902b911ce990189b2a88a497ec015ecd1c1b63e25ba85a004844145f02", + "linux/amd64": "https://github.com/terpnetwork/terp-core/releases/download/v5.0.0/terpd-linux-amd64?checksum=sha256:89dbad29f8ae77187d6bed47e2d4300547380e03e109e85910b2307f2570701a" } } \ No newline at end of file diff --git a/mainnet/upgrades/v5/guide.md b/mainnet/upgrades/v5/guide.md index 804dbe8..e0bfccb 100644 --- a/mainnet/upgrades/v5/guide.md +++ b/mainnet/upgrades/v5/guide.md @@ -3,10 +3,10 @@ | | | |-----------------|--------------------------------------------------------------| | Chain-id | `morocco-1` | -| Upgrade Version | `v5` | -| Upgrade Height | `14154953` | +| Upgrade Version | [`v5`](https://github.com/terpnetwork/terp-core/releases/tag/v5.0.0) | +| Upgrade Height | [`14170662`](https://ping.pub/terp/block/14170662) | -The target block for this upgrade is `14154953`, which is expected to arrive at 11:00UTC Monday, September 28th ~ 1 PM UTC [Go Playground](https://go.dev/play/p/_sLXYhtcPGn) +The target block for this upgrade is `14170662`, which is expected to arrive at 11:00UTC Monday, September 30th ~ 1 PM UTC [Go Playground](hthttps://go.dev/play/p/cyxyYqhGtRp) ## Building Manually @@ -16,7 +16,7 @@ cd terp-core && git pull && git checkout v5.0.0 make build && make install terpd version --long | grep "cosmos_sdk_veresion/|commit\|version:" -# commit: +# commit: 1620a3086cef50a3e3acb592469b0ebad3981a3e # cosmos_sdk_version: v0.53.4 # version: 5.0.0 @@ -31,5 +31,5 @@ $DAEMON_HOME/cosmovisor/upgrades/v5/bin/terpd version rm -rf terpd_linux_amd64.tar.gz # delete if exists wget https://github.com/terpnetwork/terp-core/releases/download/v5.0.0/terpd-linux-amd64.tar.gz sha256sum terpd-linux-amd64.tar.gz -# Output terpd-linux-amd64.tar.gz +# Output 768b281a522bdff2781cc7c11177f756f44526e6e3388e8febb8a347481d0870 terpd-linux-amd64.tar.gz ```