Skip to content

Commit

Permalink
revert: entrypoint revert
Browse files Browse the repository at this point in the history
  • Loading branch information
deepan95dev committed Feb 23, 2024
1 parent 5a91e16 commit 8052edf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
4 changes: 0 additions & 4 deletions docker/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,5 @@ else
echo "No private validator key file passed. Skipping and retaining existing key."
fi

cheqd-noded keys list
cheqd-noded keys list --keyring-backend test
cheqd-noded validate-genesis

# Run node
cheqd-noded start
10 changes: 5 additions & 5 deletions tests/upgrade/integration/scripts/old_binary_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,17 @@ docker compose --env-file mainnet-latest.env up --detach --no-build
# TODO: Get rid of this sleep.
sleep 5

docker ps
docker ps -a
# Copy keys
sudo docker compose --env-file mainnet-latest.env cp network-config/validator-0/keyring-test validator-0:/home/cheqd/.cheqdnode
sudo docker compose --env-file mainnet-latest.env cp network-config/validator-1/keyring-test validator-1:/home/cheqd/.cheqdnode
sudo docker compose --env-file mainnet-latest.env cp network-config/validator-2/keyring-test validator-2:/home/cheqd/.cheqdnode
sudo docker compose --env-file mainnet-latest.env cp network-config/validator-3/keyring-test validator-3:/home/cheqd/.cheqdnode

# Restore permissions
sudo docker compose --env-file mainnet-latest.env exec --user root validator-0 chown -R cheqd:cheqd /home/cheqd
sudo docker compose --env-file mainnet-latest.env exec --user root validator-1 chown -R cheqd:cheqd /home/cheqd
sudo docker compose --env-file mainnet-latest.env exec --user root validator-2 chown -R cheqd:cheqd /home/cheqd
sudo docker compose --env-file mainnet-latest.env exec --user root validator-3 chown -R cheqd:cheqd /home/cheqd
# sudo docker compose --env-file mainnet-latest.env exec --user root validator-0 chown -R cheqd:cheqd /home/cheqd
# sudo docker compose --env-file mainnet-latest.env exec --user root validator-1 chown -R cheqd:cheqd /home/cheqd
# sudo docker compose --env-file mainnet-latest.env exec --user root validator-2 chown -R cheqd:cheqd /home/cheqd
# sudo docker compose --env-file mainnet-latest.env exec --user root validator-3 chown -R cheqd:cheqd /home/cheqd

popd

0 comments on commit 8052edf

Please sign in to comment.