Skip to content

Instantly share code, notes, and snippets.

@ForboleDevelopment
ForboleDevelopment / scoreboard.csv
Last active July 1, 2020 04:42
Desmos Primer Scoreboard
User Phase 1 Phase 2 Phase 3 Phase 3 VP Phase 4 Phase 4 VP Total
kaustubhkapatral 1230 330 160 250 100 135 2205
novy4 1030 300 160 0 100 135 1725
Bambarello 670 330 160 250 0 135 1545
rkyassine 430 330 160 250 100 135 1405
kalpatech-team 420 330 160 135 100 135 1280
AndreyVelde 480 330 160 135 0 135 1240
Alive29 880 330 0 0 0 0 1210
Chainode 230 330 160 250 100 135 1205
alex-m24 80 330 160 250 100 250 1170
@ForboleDevelopment
ForboleDevelopment / morpheus-4001-update.sh
Last active June 5, 2020 08:20
Morpheus-4001 update procedure
# Go into the folder where you downloaded Desmos
cd ~/desmos
# Checkout the correct Desmos tag and build the software
git fetch --tags && git checkout tags/v0.5.1 && make install
# Stop the currently running node
sudo systemctl stop desmosd
# Remove the current genesis and get the new one
@ForboleDevelopment
ForboleDevelopment / morpheus-5000-update.sh
Last active June 8, 2020 08:33
Commands that should be run in order to update from morpheus-4001 to morpheus-5000 seamlessly
# Go into the folder where you downloaded Desmos
cd ~/desmos
# Checkout the correct Desmos tag and build the software
git fetch --tags && git checkout tags/v0.6.2 && make install
# Stop the currently running node
sudo systemctl stop desmosd
# Remove the current genesis and get the new one
@ForboleDevelopment
ForboleDevelopment / desmos-v0.5.3-update.sh
Created July 3, 2020 05:05
Script to safely update your node to Desmos v0.5.3 without missing a block
# Go into the folder where you downloaded Desmos
cd ~/desmos
# Checkout the correct Desmos tag and build the software
git fetch --tags && git checkout tags/v0.5.3 && make install
# Restart the node
sudo systemctl restart desmosd
@ForboleDevelopment
ForboleDevelopment / morpheus-8000-update.sh
Created August 24, 2020 13:02
Commands that should be run in order to update from morpheus-7001 to morpheus-8000 seamlessly
# Go into the folder where you downloaded Desmos
cd ~/desmos
# Checkout the correct Desmos tag and build the software
git fetch --tags && git checkout tags/v0.10.0 && make install
# Stop the currently running node
sudo systemctl stop desmosd
# Remove the current genesis and get the new one
@ForboleDevelopment
ForboleDevelopment / desmos-cosmovisor-installer.sh
Last active September 30, 2020 07:10
This script allows you to setup Cosmovisor inside your Desmos node so that it will be able to automatically upgrade itself for the Desmos September Upgrade
#!/usr/bin/env bash
# This script allows the easy installation of the Cosmovisor daemon to watch
# any upgrade of your Desmos node.
# In order to run it properly, just execute this script giving it the path
# to the folder where you cloned Desmos.
# Example:
# ./install-cosmovisor.sh ~/desmos
DESMOS_PATH=$1
@ForboleDevelopment
ForboleDevelopment / desmos-september-upgrade-fix.sh
Last active September 24, 2020 09:01
This script allows to fix the September upgrade setup in order to make sure your node works properly.
# This script allows to fix the September upgrade setup in order to make sure your node works properly.
# Please run run after you've ran this one: https://gist.github.com/ForboleDevelopment/92979d9be88bd593f234e28ff2cd353a
cd ~/desmos
git fetch -a
git checkout tags/v0.12.1
make build
mv build/desmosd ~/.desmosd/cosmovisor/upgrades/september-upgrade/bin
@ForboleDevelopment
ForboleDevelopment / morpheus-10000-update.sh
Last active October 5, 2020 14:30
Commands that should be run in order to update from morpheus-8000 to morpheus-10000 seamlessly
#!/usr/bin/bash
# This script allows you to setup your node properly getting it
# ready for the October update.
# It will checkout and build the propery Desmos version, as well
# as setup your Systemd service.
# The only thing you have to do is run it giving it the first
# argument which is the path where you cloned the Desmos
# repository.
# E.g.
# ./morpheus-10000-update.sh ~/desmos
@ForboleDevelopment
ForboleDevelopment / setup-desmos-service-cosmovisor.sh
Last active January 15, 2021 09:46
Script to setup the Desmos service to work with Cosmovisor
sudo tee $FILE > /dev/null <<EOF
[Unit]
Description=Desmos Full Node
After=network-online.target
[Service]
User=$USER
ExecStart=$GOBIN/cosmovisor start
Restart=always
RestartSec=3
LimitNOFILE=4096
@ForboleDevelopment
ForboleDevelopment / setup-desmos-service.sh
Last active January 15, 2021 09:47
Script to setup the Desmos service to work without Cosmovisor
# The user is not using Cosmovisor
sudo tee $FILE > /dev/null <<EOF
[Unit]
Description=Desmos Full Node
After=network-online.target
[Service]
User=$USER
ExecStart=$GOBIN/desmos start
Restart=always
RestartSec=3