From d1f313a0c3a265dc60c57dbd1bf2384be97c057c Mon Sep 17 00:00:00 2001 From: zenodeapp Date: Tue, 3 Oct 2023 00:14:02 +0200 Subject: [PATCH 1/6] Fixed reinstall.sh syntax error at EOF and added reset of config files --- reinstall.sh | 2 +- reupdate.sh | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/reinstall.sh b/reinstall.sh index bd4cffb1a0..9ecb542c50 100644 --- a/reinstall.sh +++ b/reinstall.sh @@ -141,4 +141,4 @@ sed -i '212s/.*/enable = false/' app.toml # service genesisd start # genesisd start -ponysay "start genesisd daemon, set stop height before it`" +ponysay "start genesisd daemon, set stop height before it" diff --git a/reupdate.sh b/reupdate.sh index fb641f97d8..52cee9b90b 100644 --- a/reupdate.sh +++ b/reupdate.sh @@ -102,12 +102,17 @@ rm -r genesis.json wget https://github.com/alpha-omega-labs/genesisd/raw/neolithic/genesis_29-1-state/genesis.json cd -# RESET TO IMPORTED genesis.json +# BACKUP MONIKER AND REMOVE CONFIG FILES (THE CONFIG FILES FOR v0.46 WERE DIFFERENT) +moniker=$(grep "moniker" .genesisd/config/config.toml | cut -d'=' -f2 | tr -d '[:space:]"') +rm .genesisd/config/app.toml .genesisd/config/config.toml + +# REGENERATE CONFIG FILES AND RESET TO IMPORTED genesis.json genesisd tendermint unsafe-reset-all # ADD PEERS, ADJUST SETTINGS cd cd .genesisd/config +sed -i "s/moniker = \"\"/moniker = \"$moniker\"/" config.toml sed -i 's/seeds = ""/seeds = ""/' config.toml sed -i 's/persistent_peers = ""/persistent_peers = "4197dcaabbbf9f6047f6dd56f90d86c66b8113bb@162.55.97.214:26656,3e64e0a3a701ce36d6dbe207e908428c38303796@212.154.25.24:26656,c23b3d58ccae0cf34fc12075c933659ff8cca200@95.217.207.154:26656,90f6e7509a0024c3ec7188885954b16356757264@168.119.212.118:26656,0a7efe755b2ca413267961ffa62a959c7fd31f45@168.119.138.91:26656,36111b4156ace8f1cfa5584c3ccf479de4d94936@65.21.34.226:26656,907722e9bb60a8dfb553e22b22c403d781ad7295@188.40.110.28:26656,d7d4ea7a661c40305cab84ac227cdb3814df4e43@139.162.195.228:26656,a65bf30b37e11f41422c7fbc0cd4270c0e1e506e@217.13.223.167:56656,060585a1cc1fa88b4188a2d94de07b518dc188cf@144.91.84.196:26656,ef7d81eb8db7ad59b4ce30e022c758cee8dc174f@188.165.202.131:26656,29c638751331a1516e5fb3c8415fc51f84897c55@18.216.81.126:26656,df5fe6b4fafd43c3e7b8c3047fc92e73e4d62ee5@135.181.5.216:26656,62cb81bad72ed77c776c7fec0547b09bdc5ceb22@158.69.253.103:26656,af405a6c392b747aa74704ad0ee8585b8ce164b3@37.187.95.163:26656,0b0e7e460a1c2a4b24293c2d48f8442bc8e85878@198.244.179.62:26651,70c201d6568e0ddf1ebe105df06b957cbc255a8b@46.4.108.77:26656,778ce7aa9b9c497b7a1e3943160652c740e01e7b@192.99.5.160:26656,5b678271fe9835637a1b6a8c370c21c479a7e3f7@185.215.167.123:26656,ade7eba44d652e64d13cd66bded6928cabeb5361@167.235.31.250:26656,eefdbf7eb40265a9e900a10d36de1c088b49420e@144.76.97.251:21496,30a12c1c3a6f72ebc340eaf72ed2a9784e289d8e@161.97.100.28:26656,5082248889f93095a2fd4edd00f56df1074547ba@146.59.81.204:26651,4197dcaabbbf9f6047f6dd56f90d86c66b8113bb@162.55.97.214:26656,698e04b7dc79acbe41991c298cdbc1dc612cc7fc@135.181.73.61:26656,0f9ad819318bfa9735603736aa4c6265f666a7d9@5.135.143.103:26656,80081e9cc1a4370d9cb2b2e37f1b74b583fcbfb3@198.244.228.17:26651,2646a043e1f0c766c5b704463a7d811e100ec7f3@158.69.253.120:26656,ae950870ded893af511bcd98ecdbac9b8e844e91@65.21.205.132:26656,be81a20b7134552e270774ec861c4998fabc2969@5.189.128.191:26656,02bc616c52eaf451468adf7cdbcf67c9fc780ad1@65.108.238.203:36656,e9fa4d00342c753a3600ef384c036e9ab27817eb@159.69.65.97:26656,2d968fbad78775191d0f2389216023dd81641e7c@74.96.207.58:26632,33af0fdb68a200f1e7d570c291817776aeb64c1f@65.108.101.50:60856,999628eae857f75f9f6a0350b8e41f11f04ac044@186.193.241.37:26656,70b41069b2867e4f745eac4c26d6fc7066fa11f2@195.201.165.123:20106,42239bf8f65906324bd5bca22e2d693c125cc012@158.69.253.231:26656,144462f2384d4230f261bb5fd997bd3ce953a6de@192.99.6.11:26656,7757fdee74e8d33ecaa63ead16b3564cb9dea258@85.10.200.11:26656,afe1775a7feb2a1bbfa4d56a6208edb7ed001a83@158.69.253.100:26656,8b5e834a890cdbd840271bc66adb7c913292a76c@154.12.236.9:36656,d4f26df6d1c0ac340683d94ace5691a6d5201dcc@185.252.235.81:26656,3e64e0a3a701ce36d6dbe207e908428c38303796@212.154.25.24:26656,48104213790a9a6cc3dba690619c189e528bee61@172.105.238.169:26656,f2dd060041860c635a45a676a46b9d7027f56e38@185.252.232.74:26641,805caed34b7f0a6fc61fed7126b638ea506f73fd@142.132.202.50:26671"/' config.toml sed -i 's/minimum-gas-prices = "0aphoton"/minimum-gas-prices = "0el1"/g' app.toml From 3186d28968e5c6cc5bc0c6b811c81e242b2d99ed Mon Sep 17 00:00:00 2001 From: zenodeapp Date: Tue, 3 Oct 2023 00:35:56 +0200 Subject: [PATCH 2/6] Fixed moniker issue. --- reupdate.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reupdate.sh b/reupdate.sh index 52cee9b90b..1e25f09316 100644 --- a/reupdate.sh +++ b/reupdate.sh @@ -112,7 +112,7 @@ genesisd tendermint unsafe-reset-all # ADD PEERS, ADJUST SETTINGS cd cd .genesisd/config -sed -i "s/moniker = \"\"/moniker = \"$moniker\"/" config.toml +sed -i "s/.*moniker = .*/moniker = \"$moniker\"/" config.toml sed -i 's/seeds = ""/seeds = ""/' config.toml sed -i 's/persistent_peers = ""/persistent_peers = "4197dcaabbbf9f6047f6dd56f90d86c66b8113bb@162.55.97.214:26656,3e64e0a3a701ce36d6dbe207e908428c38303796@212.154.25.24:26656,c23b3d58ccae0cf34fc12075c933659ff8cca200@95.217.207.154:26656,90f6e7509a0024c3ec7188885954b16356757264@168.119.212.118:26656,0a7efe755b2ca413267961ffa62a959c7fd31f45@168.119.138.91:26656,36111b4156ace8f1cfa5584c3ccf479de4d94936@65.21.34.226:26656,907722e9bb60a8dfb553e22b22c403d781ad7295@188.40.110.28:26656,d7d4ea7a661c40305cab84ac227cdb3814df4e43@139.162.195.228:26656,a65bf30b37e11f41422c7fbc0cd4270c0e1e506e@217.13.223.167:56656,060585a1cc1fa88b4188a2d94de07b518dc188cf@144.91.84.196:26656,ef7d81eb8db7ad59b4ce30e022c758cee8dc174f@188.165.202.131:26656,29c638751331a1516e5fb3c8415fc51f84897c55@18.216.81.126:26656,df5fe6b4fafd43c3e7b8c3047fc92e73e4d62ee5@135.181.5.216:26656,62cb81bad72ed77c776c7fec0547b09bdc5ceb22@158.69.253.103:26656,af405a6c392b747aa74704ad0ee8585b8ce164b3@37.187.95.163:26656,0b0e7e460a1c2a4b24293c2d48f8442bc8e85878@198.244.179.62:26651,70c201d6568e0ddf1ebe105df06b957cbc255a8b@46.4.108.77:26656,778ce7aa9b9c497b7a1e3943160652c740e01e7b@192.99.5.160:26656,5b678271fe9835637a1b6a8c370c21c479a7e3f7@185.215.167.123:26656,ade7eba44d652e64d13cd66bded6928cabeb5361@167.235.31.250:26656,eefdbf7eb40265a9e900a10d36de1c088b49420e@144.76.97.251:21496,30a12c1c3a6f72ebc340eaf72ed2a9784e289d8e@161.97.100.28:26656,5082248889f93095a2fd4edd00f56df1074547ba@146.59.81.204:26651,4197dcaabbbf9f6047f6dd56f90d86c66b8113bb@162.55.97.214:26656,698e04b7dc79acbe41991c298cdbc1dc612cc7fc@135.181.73.61:26656,0f9ad819318bfa9735603736aa4c6265f666a7d9@5.135.143.103:26656,80081e9cc1a4370d9cb2b2e37f1b74b583fcbfb3@198.244.228.17:26651,2646a043e1f0c766c5b704463a7d811e100ec7f3@158.69.253.120:26656,ae950870ded893af511bcd98ecdbac9b8e844e91@65.21.205.132:26656,be81a20b7134552e270774ec861c4998fabc2969@5.189.128.191:26656,02bc616c52eaf451468adf7cdbcf67c9fc780ad1@65.108.238.203:36656,e9fa4d00342c753a3600ef384c036e9ab27817eb@159.69.65.97:26656,2d968fbad78775191d0f2389216023dd81641e7c@74.96.207.58:26632,33af0fdb68a200f1e7d570c291817776aeb64c1f@65.108.101.50:60856,999628eae857f75f9f6a0350b8e41f11f04ac044@186.193.241.37:26656,70b41069b2867e4f745eac4c26d6fc7066fa11f2@195.201.165.123:20106,42239bf8f65906324bd5bca22e2d693c125cc012@158.69.253.231:26656,144462f2384d4230f261bb5fd997bd3ce953a6de@192.99.6.11:26656,7757fdee74e8d33ecaa63ead16b3564cb9dea258@85.10.200.11:26656,afe1775a7feb2a1bbfa4d56a6208edb7ed001a83@158.69.253.100:26656,8b5e834a890cdbd840271bc66adb7c913292a76c@154.12.236.9:36656,d4f26df6d1c0ac340683d94ace5691a6d5201dcc@185.252.235.81:26656,3e64e0a3a701ce36d6dbe207e908428c38303796@212.154.25.24:26656,48104213790a9a6cc3dba690619c189e528bee61@172.105.238.169:26656,f2dd060041860c635a45a676a46b9d7027f56e38@185.252.232.74:26641,805caed34b7f0a6fc61fed7126b638ea506f73fd@142.132.202.50:26671"/' config.toml sed -i 's/minimum-gas-prices = "0aphoton"/minimum-gas-prices = "0el1"/g' app.toml From 16ee2e93866e74b90d753eec1745dcd2107bc2be Mon Sep 17 00:00:00 2001 From: zenodeapp Date: Tue, 3 Oct 2023 00:40:40 +0200 Subject: [PATCH 3/6] Added removal of all swap files --- reupdate.sh | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/reupdate.sh b/reupdate.sh index 1e25f09316..f8a18a29b5 100644 --- a/reupdate.sh +++ b/reupdate.sh @@ -38,6 +38,30 @@ echo "root - nofile 50000" >> /etc/security/limits.conf echo "fs.file-max = 50000" >> /etc/sysctl.conf ulimit -n 50000 +# REMOVE ALL SWAP FILES MADE BY THE 0.46 UPGRADE +files_to_remove=$(find / -maxdepth 1 -type f -name 'genesisd_swapfile*') + +if [ -z "$files_to_remove" ]; then + echo "No swap files starting with '/genesisd_swapfile' found in the root directory." +else + for file in $files_to_remove; do + swapoff -v "$file" + + if swapon --show | grep -q "^$file "; then + echo "Swap file $file was not removed because it is still in use." + else + rm -f "$file" + echo "Removed swap file: $file" + fi + done +fi + +for file in $files_to_remove; do + swapfile_name=$(basename "$file") + sed -i "/^\/$swapfile_name /d" /etc/fstab + echo "Removed entry for $swapfile_name from /etc/fstab" +done + #PONYSAY snap install ponysay ponysay "Installing genesisd from source code with updated genesis_29-2 mainnet!" From c9b67b6c07834d5d99ceea7204eef7a49f28239b Mon Sep 17 00:00:00 2001 From: zenodeapp Date: Tue, 3 Oct 2023 00:43:04 +0200 Subject: [PATCH 4/6] Changed order of when swapfiles get removed. --- reupdate.sh | 33 ++++++++++++++++----------------- 1 file changed, 16 insertions(+), 17 deletions(-) diff --git a/reupdate.sh b/reupdate.sh index f8a18a29b5..195857c6cd 100644 --- a/reupdate.sh +++ b/reupdate.sh @@ -38,9 +38,23 @@ echo "root - nofile 50000" >> /etc/security/limits.conf echo "fs.file-max = 50000" >> /etc/sysctl.conf ulimit -n 50000 -# REMOVE ALL SWAP FILES MADE BY THE 0.46 UPGRADE -files_to_remove=$(find / -maxdepth 1 -type f -name 'genesisd_swapfile*') +#PONYSAY +snap install ponysay +ponysay "Installing genesisd from source code with updated genesis_29-2 mainnet!" +sleep 5s +ponysay "WARNING: cosmosvisor, evmosd processes will be killed and genesis, genesisd, evmos, evmosd system services will be stopped with this script on the next step. If you have other blockchains running, you might want to delete those parts of the script!" +sleep 20s + +# STOPPING EVMOSD DAEMON AND COSMOVISOR IF IT WAS NOT STOPPED +pkill evmosd +pkill cosmovisor +service genesis stop +service genesisd stop +service evmos stop +service evmosd stop +# AFTER STOPPING OF DAEMONS REMOVE ALL SWAP FILES MADE BY THE 0.46 UPGRADE +files_to_remove=$(find / -maxdepth 1 -type f -name 'genesisd_swapfile*') if [ -z "$files_to_remove" ]; then echo "No swap files starting with '/genesisd_swapfile' found in the root directory." else @@ -62,21 +76,6 @@ for file in $files_to_remove; do echo "Removed entry for $swapfile_name from /etc/fstab" done -#PONYSAY -snap install ponysay -ponysay "Installing genesisd from source code with updated genesis_29-2 mainnet!" -sleep 5s -ponysay "WARNING: cosmosvisor, evmosd processes will be killed and genesis, genesisd, evmos, evmosd system services will be stopped with this script on the next step. If you have other blockchains running, you might want to delete those parts of the script!" -sleep 20s - -# STOPPING EVMOSD DAEMON AND COSMOVISOR IF IT WAS NOT STOPPED -pkill evmosd -pkill cosmovisor -service genesis stop -service genesisd stop -service evmos stop -service evmosd stop - # BACKUP .genesisd FOLDER cd rsync -r --verbose --exclude 'data' ./.genesisd/ ./.genesisd_backup_reupdate/ From ed88a7b228957f5c2415548e4491566e3cd9f36d Mon Sep 17 00:00:00 2001 From: zenodeapp Date: Tue, 3 Oct 2023 01:06:29 +0200 Subject: [PATCH 5/6] Added min gas price sed and timeout commit sed --- reinstall.sh | 3 ++- reupdate.sh | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/reinstall.sh b/reinstall.sh index 9ecb542c50..522eb64a51 100644 --- a/reinstall.sh +++ b/reinstall.sh @@ -126,8 +126,9 @@ genesisd tendermint unsafe-reset-all cd cd .genesisd/config sed -i 's/seeds = ""/seeds = ""/' config.toml +sed -i 's/^timeout_commit = .*/timeout_commit = "10s"/' config.toml sed -i 's/persistent_peers = ""/persistent_peers = "4197dcaabbbf9f6047f6dd56f90d86c66b8113bb@162.55.97.214:26656,3e64e0a3a701ce36d6dbe207e908428c38303796@212.154.25.24:26656,c23b3d58ccae0cf34fc12075c933659ff8cca200@95.217.207.154:26656,90f6e7509a0024c3ec7188885954b16356757264@168.119.212.118:26656,0a7efe755b2ca413267961ffa62a959c7fd31f45@168.119.138.91:26656,36111b4156ace8f1cfa5584c3ccf479de4d94936@65.21.34.226:26656,907722e9bb60a8dfb553e22b22c403d781ad7295@188.40.110.28:26656,d7d4ea7a661c40305cab84ac227cdb3814df4e43@139.162.195.228:26656,a65bf30b37e11f41422c7fbc0cd4270c0e1e506e@217.13.223.167:56656,060585a1cc1fa88b4188a2d94de07b518dc188cf@144.91.84.196:26656,ef7d81eb8db7ad59b4ce30e022c758cee8dc174f@188.165.202.131:26656,29c638751331a1516e5fb3c8415fc51f84897c55@18.216.81.126:26656,df5fe6b4fafd43c3e7b8c3047fc92e73e4d62ee5@135.181.5.216:26656,62cb81bad72ed77c776c7fec0547b09bdc5ceb22@158.69.253.103:26656,af405a6c392b747aa74704ad0ee8585b8ce164b3@37.187.95.163:26656,0b0e7e460a1c2a4b24293c2d48f8442bc8e85878@198.244.179.62:26651,70c201d6568e0ddf1ebe105df06b957cbc255a8b@46.4.108.77:26656,778ce7aa9b9c497b7a1e3943160652c740e01e7b@192.99.5.160:26656,5b678271fe9835637a1b6a8c370c21c479a7e3f7@185.215.167.123:26656,ade7eba44d652e64d13cd66bded6928cabeb5361@167.235.31.250:26656,eefdbf7eb40265a9e900a10d36de1c088b49420e@144.76.97.251:21496,30a12c1c3a6f72ebc340eaf72ed2a9784e289d8e@161.97.100.28:26656,5082248889f93095a2fd4edd00f56df1074547ba@146.59.81.204:26651,4197dcaabbbf9f6047f6dd56f90d86c66b8113bb@162.55.97.214:26656,698e04b7dc79acbe41991c298cdbc1dc612cc7fc@135.181.73.61:26656,0f9ad819318bfa9735603736aa4c6265f666a7d9@5.135.143.103:26656,80081e9cc1a4370d9cb2b2e37f1b74b583fcbfb3@198.244.228.17:26651,2646a043e1f0c766c5b704463a7d811e100ec7f3@158.69.253.120:26656,ae950870ded893af511bcd98ecdbac9b8e844e91@65.21.205.132:26656,be81a20b7134552e270774ec861c4998fabc2969@5.189.128.191:26656,02bc616c52eaf451468adf7cdbcf67c9fc780ad1@65.108.238.203:36656,e9fa4d00342c753a3600ef384c036e9ab27817eb@159.69.65.97:26656,2d968fbad78775191d0f2389216023dd81641e7c@74.96.207.58:26632,33af0fdb68a200f1e7d570c291817776aeb64c1f@65.108.101.50:60856,999628eae857f75f9f6a0350b8e41f11f04ac044@186.193.241.37:26656,70b41069b2867e4f745eac4c26d6fc7066fa11f2@195.201.165.123:20106,42239bf8f65906324bd5bca22e2d693c125cc012@158.69.253.231:26656,144462f2384d4230f261bb5fd997bd3ce953a6de@192.99.6.11:26656,7757fdee74e8d33ecaa63ead16b3564cb9dea258@85.10.200.11:26656,afe1775a7feb2a1bbfa4d56a6208edb7ed001a83@158.69.253.100:26656,8b5e834a890cdbd840271bc66adb7c913292a76c@154.12.236.9:36656,d4f26df6d1c0ac340683d94ace5691a6d5201dcc@185.252.235.81:26656,3e64e0a3a701ce36d6dbe207e908428c38303796@212.154.25.24:26656,48104213790a9a6cc3dba690619c189e528bee61@172.105.238.169:26656,f2dd060041860c635a45a676a46b9d7027f56e38@185.252.232.74:26641,805caed34b7f0a6fc61fed7126b638ea506f73fd@142.132.202.50:26671"/' config.toml -sed -i 's/minimum-gas-prices = "0aphoton"/minimum-gas-prices = "0el1"/g' app.toml +sed -i 's/minimum-gas-prices = "0aphoton"/minimum-gas-prices = "50000000000el1"/g' app.toml sed -i 's/halt-height = 0/halt-height = 6751390/g' app.toml sed -i '212s/.*/enable = false/' app.toml # STARTING genesisd AS A SERVICE diff --git a/reupdate.sh b/reupdate.sh index 195857c6cd..cfe33c16cb 100644 --- a/reupdate.sh +++ b/reupdate.sh @@ -137,8 +137,9 @@ cd cd .genesisd/config sed -i "s/.*moniker = .*/moniker = \"$moniker\"/" config.toml sed -i 's/seeds = ""/seeds = ""/' config.toml +sed -i 's/timeout_commit = .*/timeout_commit = "10s"/' config.toml sed -i 's/persistent_peers = ""/persistent_peers = "4197dcaabbbf9f6047f6dd56f90d86c66b8113bb@162.55.97.214:26656,3e64e0a3a701ce36d6dbe207e908428c38303796@212.154.25.24:26656,c23b3d58ccae0cf34fc12075c933659ff8cca200@95.217.207.154:26656,90f6e7509a0024c3ec7188885954b16356757264@168.119.212.118:26656,0a7efe755b2ca413267961ffa62a959c7fd31f45@168.119.138.91:26656,36111b4156ace8f1cfa5584c3ccf479de4d94936@65.21.34.226:26656,907722e9bb60a8dfb553e22b22c403d781ad7295@188.40.110.28:26656,d7d4ea7a661c40305cab84ac227cdb3814df4e43@139.162.195.228:26656,a65bf30b37e11f41422c7fbc0cd4270c0e1e506e@217.13.223.167:56656,060585a1cc1fa88b4188a2d94de07b518dc188cf@144.91.84.196:26656,ef7d81eb8db7ad59b4ce30e022c758cee8dc174f@188.165.202.131:26656,29c638751331a1516e5fb3c8415fc51f84897c55@18.216.81.126:26656,df5fe6b4fafd43c3e7b8c3047fc92e73e4d62ee5@135.181.5.216:26656,62cb81bad72ed77c776c7fec0547b09bdc5ceb22@158.69.253.103:26656,af405a6c392b747aa74704ad0ee8585b8ce164b3@37.187.95.163:26656,0b0e7e460a1c2a4b24293c2d48f8442bc8e85878@198.244.179.62:26651,70c201d6568e0ddf1ebe105df06b957cbc255a8b@46.4.108.77:26656,778ce7aa9b9c497b7a1e3943160652c740e01e7b@192.99.5.160:26656,5b678271fe9835637a1b6a8c370c21c479a7e3f7@185.215.167.123:26656,ade7eba44d652e64d13cd66bded6928cabeb5361@167.235.31.250:26656,eefdbf7eb40265a9e900a10d36de1c088b49420e@144.76.97.251:21496,30a12c1c3a6f72ebc340eaf72ed2a9784e289d8e@161.97.100.28:26656,5082248889f93095a2fd4edd00f56df1074547ba@146.59.81.204:26651,4197dcaabbbf9f6047f6dd56f90d86c66b8113bb@162.55.97.214:26656,698e04b7dc79acbe41991c298cdbc1dc612cc7fc@135.181.73.61:26656,0f9ad819318bfa9735603736aa4c6265f666a7d9@5.135.143.103:26656,80081e9cc1a4370d9cb2b2e37f1b74b583fcbfb3@198.244.228.17:26651,2646a043e1f0c766c5b704463a7d811e100ec7f3@158.69.253.120:26656,ae950870ded893af511bcd98ecdbac9b8e844e91@65.21.205.132:26656,be81a20b7134552e270774ec861c4998fabc2969@5.189.128.191:26656,02bc616c52eaf451468adf7cdbcf67c9fc780ad1@65.108.238.203:36656,e9fa4d00342c753a3600ef384c036e9ab27817eb@159.69.65.97:26656,2d968fbad78775191d0f2389216023dd81641e7c@74.96.207.58:26632,33af0fdb68a200f1e7d570c291817776aeb64c1f@65.108.101.50:60856,999628eae857f75f9f6a0350b8e41f11f04ac044@186.193.241.37:26656,70b41069b2867e4f745eac4c26d6fc7066fa11f2@195.201.165.123:20106,42239bf8f65906324bd5bca22e2d693c125cc012@158.69.253.231:26656,144462f2384d4230f261bb5fd997bd3ce953a6de@192.99.6.11:26656,7757fdee74e8d33ecaa63ead16b3564cb9dea258@85.10.200.11:26656,afe1775a7feb2a1bbfa4d56a6208edb7ed001a83@158.69.253.100:26656,8b5e834a890cdbd840271bc66adb7c913292a76c@154.12.236.9:36656,d4f26df6d1c0ac340683d94ace5691a6d5201dcc@185.252.235.81:26656,3e64e0a3a701ce36d6dbe207e908428c38303796@212.154.25.24:26656,48104213790a9a6cc3dba690619c189e528bee61@172.105.238.169:26656,f2dd060041860c635a45a676a46b9d7027f56e38@185.252.232.74:26641,805caed34b7f0a6fc61fed7126b638ea506f73fd@142.132.202.50:26671"/' config.toml -sed -i 's/minimum-gas-prices = "0aphoton"/minimum-gas-prices = "0el1"/g' app.toml +sed -i 's/minimum-gas-prices = "0aphoton"/minimum-gas-prices = "50000000000el1"/g' app.toml sed -i 's/halt-height = 0/halt-height = 6751390/g' app.toml sed -i '212s/.*/enable = false/' app.toml From 37f31dfd69fcdb60aab162912c3a0c1f7dc5de21 Mon Sep 17 00:00:00 2001 From: zenodeapp Date: Tue, 3 Oct 2023 01:14:06 +0200 Subject: [PATCH 6/6] regex fix timeout_commit --- reupdate.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reupdate.sh b/reupdate.sh index cfe33c16cb..6fcfdc091f 100644 --- a/reupdate.sh +++ b/reupdate.sh @@ -137,7 +137,7 @@ cd cd .genesisd/config sed -i "s/.*moniker = .*/moniker = \"$moniker\"/" config.toml sed -i 's/seeds = ""/seeds = ""/' config.toml -sed -i 's/timeout_commit = .*/timeout_commit = "10s"/' config.toml +sed -i 's/^timeout_commit = .*/timeout_commit = "10s"/' config.toml sed -i 's/persistent_peers = ""/persistent_peers = "4197dcaabbbf9f6047f6dd56f90d86c66b8113bb@162.55.97.214:26656,3e64e0a3a701ce36d6dbe207e908428c38303796@212.154.25.24:26656,c23b3d58ccae0cf34fc12075c933659ff8cca200@95.217.207.154:26656,90f6e7509a0024c3ec7188885954b16356757264@168.119.212.118:26656,0a7efe755b2ca413267961ffa62a959c7fd31f45@168.119.138.91:26656,36111b4156ace8f1cfa5584c3ccf479de4d94936@65.21.34.226:26656,907722e9bb60a8dfb553e22b22c403d781ad7295@188.40.110.28:26656,d7d4ea7a661c40305cab84ac227cdb3814df4e43@139.162.195.228:26656,a65bf30b37e11f41422c7fbc0cd4270c0e1e506e@217.13.223.167:56656,060585a1cc1fa88b4188a2d94de07b518dc188cf@144.91.84.196:26656,ef7d81eb8db7ad59b4ce30e022c758cee8dc174f@188.165.202.131:26656,29c638751331a1516e5fb3c8415fc51f84897c55@18.216.81.126:26656,df5fe6b4fafd43c3e7b8c3047fc92e73e4d62ee5@135.181.5.216:26656,62cb81bad72ed77c776c7fec0547b09bdc5ceb22@158.69.253.103:26656,af405a6c392b747aa74704ad0ee8585b8ce164b3@37.187.95.163:26656,0b0e7e460a1c2a4b24293c2d48f8442bc8e85878@198.244.179.62:26651,70c201d6568e0ddf1ebe105df06b957cbc255a8b@46.4.108.77:26656,778ce7aa9b9c497b7a1e3943160652c740e01e7b@192.99.5.160:26656,5b678271fe9835637a1b6a8c370c21c479a7e3f7@185.215.167.123:26656,ade7eba44d652e64d13cd66bded6928cabeb5361@167.235.31.250:26656,eefdbf7eb40265a9e900a10d36de1c088b49420e@144.76.97.251:21496,30a12c1c3a6f72ebc340eaf72ed2a9784e289d8e@161.97.100.28:26656,5082248889f93095a2fd4edd00f56df1074547ba@146.59.81.204:26651,4197dcaabbbf9f6047f6dd56f90d86c66b8113bb@162.55.97.214:26656,698e04b7dc79acbe41991c298cdbc1dc612cc7fc@135.181.73.61:26656,0f9ad819318bfa9735603736aa4c6265f666a7d9@5.135.143.103:26656,80081e9cc1a4370d9cb2b2e37f1b74b583fcbfb3@198.244.228.17:26651,2646a043e1f0c766c5b704463a7d811e100ec7f3@158.69.253.120:26656,ae950870ded893af511bcd98ecdbac9b8e844e91@65.21.205.132:26656,be81a20b7134552e270774ec861c4998fabc2969@5.189.128.191:26656,02bc616c52eaf451468adf7cdbcf67c9fc780ad1@65.108.238.203:36656,e9fa4d00342c753a3600ef384c036e9ab27817eb@159.69.65.97:26656,2d968fbad78775191d0f2389216023dd81641e7c@74.96.207.58:26632,33af0fdb68a200f1e7d570c291817776aeb64c1f@65.108.101.50:60856,999628eae857f75f9f6a0350b8e41f11f04ac044@186.193.241.37:26656,70b41069b2867e4f745eac4c26d6fc7066fa11f2@195.201.165.123:20106,42239bf8f65906324bd5bca22e2d693c125cc012@158.69.253.231:26656,144462f2384d4230f261bb5fd997bd3ce953a6de@192.99.6.11:26656,7757fdee74e8d33ecaa63ead16b3564cb9dea258@85.10.200.11:26656,afe1775a7feb2a1bbfa4d56a6208edb7ed001a83@158.69.253.100:26656,8b5e834a890cdbd840271bc66adb7c913292a76c@154.12.236.9:36656,d4f26df6d1c0ac340683d94ace5691a6d5201dcc@185.252.235.81:26656,3e64e0a3a701ce36d6dbe207e908428c38303796@212.154.25.24:26656,48104213790a9a6cc3dba690619c189e528bee61@172.105.238.169:26656,f2dd060041860c635a45a676a46b9d7027f56e38@185.252.232.74:26641,805caed34b7f0a6fc61fed7126b638ea506f73fd@142.132.202.50:26671"/' config.toml sed -i 's/minimum-gas-prices = "0aphoton"/minimum-gas-prices = "50000000000el1"/g' app.toml sed -i 's/halt-height = 0/halt-height = 6751390/g' app.toml