From 648b551b9c3a2818b6d19ca3118d1e81e585b8a0 Mon Sep 17 00:00:00 2001 From: woof Date: Tue, 11 Jun 2024 08:37:06 +0100 Subject: [PATCH 1/6] adding v7.0.1 upgrade tutorial --- mainnet/UPGRADES/v7.0.1/README.md | 38 +++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 mainnet/UPGRADES/v7.0.1/README.md diff --git a/mainnet/UPGRADES/v7.0.1/README.md b/mainnet/UPGRADES/v7.0.1/README.md new file mode 100644 index 0000000..154ad73 --- /dev/null +++ b/mainnet/UPGRADES/v7.0.1/README.md @@ -0,0 +1,38 @@ +# Chihuahua v7.0.1 Upgrade + +The Upgrade is scheduled for block `13250000`. A countdown clock is [here](https://www.mintscan.io/chihuahua/blocks/13250000) + +This guide assumes that you use cosmovisor to manage upgrades. + +## If you are syncing from 0 you need to apply v7.0.1 at height 13250000 + +```bash +# get the new version +cd chihuahua +git fetch --all +git checkout v7.0.1 +make install +``` + +# check the version + +```bash +# should be v7.0.1 +chihuahuad version +# Should be commit ed5ad95a6a79c84ec65c252a3b438566cb418fd7 +chihuahuad version --long | grep commit +``` + +# Make new directory and copy binary + +```bash +mkdir -p $HOME/.chihuahuad/cosmovisor/upgrades/v7.0.1/bin +cp $HOME/go/bin/chihuahuad $HOME/.chihuahuad/cosmovisor/upgrades/v7.0.1/bin +``` + +# check the version again + +```bash +# should be v7.0.1 +$HOME/.chihuahuad/cosmovisor/upgrades/v7.0.1/bin/chihuahuad version +``` From 5b818dfb534994c1dd6542665f9c7504b25a185e Mon Sep 17 00:00:00 2001 From: woof-chihuahua <123602654+woof-chihuahua@users.noreply.github.com> Date: Mon, 17 Jun 2024 21:06:11 +0100 Subject: [PATCH 2/6] Update app.go fix --- app/app.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/app.go b/app/app.go index 3cecc9c..7d0f0da 100644 --- a/app/app.go +++ b/app/app.go @@ -460,7 +460,7 @@ func New( app.AuthzKeeper = authzkeeper.NewKeeper(keys[authzkeeper.StoreKey], appCodec, app.MsgServiceRouter(), app.AccountKeeper) app.BankKeeper = bankkeeper.NewBaseKeeper( - appCodec, keys[sdkbanktypes.StoreKey], app.AccountKeeper, app.ModuleAccountAddrs(), authtypes.NewModuleAddress(govtypes.ModuleName).String(), + appCodec, keys[sdkbanktypes.StoreKey], app.AccountKeeper, app.BlockedModuleAccountAddrs(), authtypes.NewModuleAddress(govtypes.ModuleName).String(), ) app.StakingKeeper = stakingkeeper.NewKeeper( appCodec, keys[stakingtypes.StoreKey], app.AccountKeeper, app.BankKeeper, authtypes.NewModuleAddress(govtypes.ModuleName).String(), From 9a65475116e537e927643b434963f6f958e0b474 Mon Sep 17 00:00:00 2001 From: woof-chihuahua <123602654+woof-chihuahua@users.noreply.github.com> Date: Mon, 17 Jun 2024 21:47:20 +0100 Subject: [PATCH 3/6] Update README.md fixed with v7.0.2 binary --- mainnet/UPGRADES/v7.0.1/README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/mainnet/UPGRADES/v7.0.1/README.md b/mainnet/UPGRADES/v7.0.1/README.md index 154ad73..9842e0c 100644 --- a/mainnet/UPGRADES/v7.0.1/README.md +++ b/mainnet/UPGRADES/v7.0.1/README.md @@ -1,29 +1,29 @@ -# Chihuahua v7.0.1 Upgrade +# Chihuahua v7.0.1 Upgrade (USE v7.0.2 binary instead) The Upgrade is scheduled for block `13250000`. A countdown clock is [here](https://www.mintscan.io/chihuahua/blocks/13250000) This guide assumes that you use cosmovisor to manage upgrades. -## If you are syncing from 0 you need to apply v7.0.1 at height 13250000 +## If you are syncing from 0 you need to apply v7.0.2 at height 13250000 ```bash # get the new version cd chihuahua git fetch --all -git checkout v7.0.1 +git checkout v7.0.2 make install ``` # check the version ```bash -# should be v7.0.1 +# should be v7.0.2 chihuahuad version -# Should be commit ed5ad95a6a79c84ec65c252a3b438566cb418fd7 +# Should be commit 5b818dfb534994c1dd6542665f9c7504b25a185e chihuahuad version --long | grep commit ``` -# Make new directory and copy binary +# Make new directory and copy binary (yes, we are using v7.0.1 directory, not a typo) ```bash mkdir -p $HOME/.chihuahuad/cosmovisor/upgrades/v7.0.1/bin @@ -33,6 +33,6 @@ cp $HOME/go/bin/chihuahuad $HOME/.chihuahuad/cosmovisor/upgrades/v7.0.1/bin # check the version again ```bash -# should be v7.0.1 +# should be v7.0.2 $HOME/.chihuahuad/cosmovisor/upgrades/v7.0.1/bin/chihuahuad version ``` From e0375757d89a5be4d475cdacf746261e8d6bcd36 Mon Sep 17 00:00:00 2001 From: woof-chihuahua <123602654+woof-chihuahua@users.noreply.github.com> Date: Mon, 17 Jun 2024 21:48:45 +0100 Subject: [PATCH 4/6] Update README.md --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 16cb9fc..3778a3c 100644 --- a/README.md +++ b/README.md @@ -56,11 +56,11 @@ The output should be `go version go1.21.1 linux/amd64` git clone https://github.com/ChihuahuaChain/chihuahua.git cd chihuahua git fetch --tags -git checkout v7 +git checkout v7.0.2 make install ``` -To verify the installation you can run `chihuahuad version` and it should return `v7` +To verify the installation you can run `chihuahuad version` and it should return `v7.0.2` - #### Initialize the Chain Replace `$MONIKERNAME` with your choosen node name @@ -217,6 +217,8 @@ _Make sure to join our [Discord](https://discord.gg/chihuahuachain-8782014494216 # Chain Upgrades +- **v7.0.1** _(using v7.0.2 binary)_ - Block 13250000 - (2024-06-17 15:11:00) + - [Upgrade Instruction](https://github.com/ChihuahuaChain/chihuahua/blob/main/mainnet/UPGRADES/v7.0.1) - **v7** _(v7)_ - Block 12900000 - (2024-05-24 10:12:00) - [Upgrade Instruction](https://github.com/ChihuahuaChain/chihuahua/blob/main/mainnet/UPGRADES/v7) - **v6** _(v6)_ - Block 10666000 - (2023-12-23 15:30:00) From 9727dfded0bf02370520db5495f92ba18e6d8dc0 Mon Sep 17 00:00:00 2001 From: woof-chihuahua <123602654+woof-chihuahua@users.noreply.github.com> Date: Fri, 21 Jun 2024 14:11:42 +0100 Subject: [PATCH 5/6] Update Makefile requiring go 1.22 from now on --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 01568de..0bc98f1 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ BRANCH := $(shell git rev-parse --abbrev-ref HEAD) COMMIT := $(shell git log -1 --format='%H') -GO_VERSION := "1.20" +GO_VERSION := "1.22" # don't override user values ifeq (,$(VERSION)) @@ -156,4 +156,4 @@ docs: @echo @echo "=========== Generate Complete ============" @echo -.PHONY: docs \ No newline at end of file +.PHONY: docs From d7a69e76ec8e45d31fb1393d7d67e02306a50d74 Mon Sep 17 00:00:00 2001 From: woof-chihuahua <123602654+woof-chihuahua@users.noreply.github.com> Date: Tue, 9 Jul 2024 15:34:30 +0100 Subject: [PATCH 6/6] Update README.md made a new telegram channel (old community one is being sold by Karen) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3778a3c..f5b171a 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ # ChihuahuaChain ##### _The Cosmos MEME Coin_ Stay up to date with the latest news on our Socials - - Join our [Telegram Community](https://t.me/chihuahua_cosmos) + - Join our [Telegram Community](https://t.me/chihuahua_wtf) - Join our [Discord](https://discord.gg/chihuahuachain-878201449421619211) - Follow us on [Twitter](https://twitter.com/ChihuahuaChain) - Check out our [Medium](https://medium.com/@chihuahuachain)