October 5
ultra story
sudo systemctl stop story story &&/ sudo systemctl stop story story-geth &&/ sudo systemctl stop story geth &&/ sudo rm /etc/systemd/system/story.service &&/ sudo rm /etc/systemd/system/geth.service &&/ sudo systemctl daemon-reload &&/ rm -rf $HOME/.story/ &&/ rm geth-linux-amd64-0.9.2-ea9f0d2 &&/ rm story-linux-amd64-0.9.11-2a25df1 &&/ sudo apt-get update -y && sudo apt upgrade -y && sudo apt-get install make build-essential pkg-config libssl-dev unzip tar lz4 gcc git jq -y && wget -q --show-progress https://story-geth-binaries.s3.us-west-1.amazonaws.com/geth-public/geth-linux-amd64-0.9.2-ea9f0d2.tar.gz && tar -xzvf geth-linux-amd64-0.9.2-ea9f0d2.tar.gz && mv geth-linux-amd64-0.9.2-ea9f0d2/geth /usr/local/bin/ && sudo apt install at &&/ echo "[Unit] Description=Geth Node After=network.target [Service] ExecStart=/usr/local/bin/geth --iliad --syncmode full Restart=always User=root [Install] WantedBy=multi-user.target" | sudo tee /etc/systemd/system/geth.service &&/ sudo systemctl enable geth && sudo systemctl start geth && wget -q --show-progress https://story-geth-binaries.s3.us-west-1.amazonaws.com/story-public/story-linux-amd64-0.9.11-2a25df1.tar.gz && tar -xzvf story-linux-amd64-0.9.11-2a25df1.tar.gz && mv story-linux-amd64-0.9.11-2a25df1/story /usr/local/bin/ &&/ echo "[Unit] Description=Story Client After=network.target [Service] ExecStart=/usr/local/bin/story run WorkingDirectory=/root/.story/story Restart=always User=root [Install] WantedBy=multi-user.target" | sudo tee /etc/systemd/system/story.service
story init --network iliad --moniker <Your_Node_Name>
sudo systemctl enable story && sudo systemctl start story && story validator export --export-evm-key --evm-key-path ~/.story/story/.env && grep "PRIVATE_KEY=" /root/.story/story/.env | cut -d '=' -f 2 &&/ story validator create --stake 1000000000000000000 --private-key $(grep "PRIVATE_KEY=" /root/.story/story/.env | cut -d '=' -f 2) &&/ curl -s localhost:26657/status | jq -r '.result.validator_info'
sudo systemctl stop story story &&/ sudo systemctl stop story story-geth &&/ sudo systemctl stop story geth &&/ sudo rm /etc/systemd/system/story.service &&/ sudo rm /etc/systemd/system/geth.service &&/ sudo systemctl daemon-reload &&/ rm -rf $HOME/.story/ &&/ rm geth-linux-amd64-0.9.2-ea9f0d2 &&/ rm story-linux-amd64-0.9.11-2a25df1
Перейди в эксплорер сети и в поле поиска вставь свой HEX адрес (1), скорее всего ты увидишь что твой валидатор не активен и находится в "тюрьме"
cd
wget https://story-geth-binaries.s3.us-west-1.amazonaws.com/story-public/story-linux-amd64-0.10.0-9603826.tar.gz
tar -xzvf story-linux-amd64-0.10.0-9603826.tar.gz
sudo systemctl stop story story sudo systemctl stop story story-geth sudo systemctl stop story geth
cp $HOME/story-linux-amd64-0.10.0-9603826/story /usr/local/bin/
source $HOME/.bash_profile
sudo systemctl daemon-reload
sudo systemctl start story-geth sudo systemctl start story sudo systemctl start story geth
sudo journalctl -u geth -u story -f
sudo journalctl -u geth -f
sudo journalctl -u story -f
sudo journalctl -u geth -u story -f
Проверь еще вот этим скриптом высоту блоков которую успела набрать твоя нода
while true; do local_height=$(curl -s localhost:26657/status | jq -r '.result.sync_info.latest_block_height'); network_height=$(curl -s https://rpc-story.josephtran.xyz/status | jq -r '.result.sync_info.latest_block_height'); blocks_left=$((network_height - local_height)); echo -e "\033[1;38mYour node height:\033[0m \033[1;34m$local_height\033[0m | \033[1;35mNetwork height:\033[0m \033[1;36m$network_height\033[0m | \033[1;29mBlocks left:\033[0m \033[1;31m$blocks_left\033[0m"; sleep 5; done
curl localhost:26657/status | jq