Skip to content

Commit

Permalink
Merge pull request #347 from c410-f3r/rpc
Browse files Browse the repository at this point in the history
Deployment updates
  • Loading branch information
c410-f3r authored Oct 8, 2021
2 parents 8ea9683 + 3a219cf commit 15b6d75
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions scripts/parachain/battery-station-relay.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,19 @@ export VALIDATOR_SECOND_BOOTNODE_NODE_KEY=""
# ***** Secrets *****

export DATA_DIR="$HOME/battery-station-relay"
export DOCKER_POLKADOT_BIN="/usr/local/bin/polkadot"

export PARACHAIN_CHAIN="battery_station"
export PARACHAIN_FIRST_BOOTNODE_ADDR="/ip4/45.33.117.205/tcp/30001/p2p/12D3KooWBMSGsvMa2A7A9PA2CptRFg9UFaWmNgcaXRxr1pE1jbe9"
export PARACHAIN_ID="2050"
export PARACHAIN_IMAGE="zeitgeistpm/zeitgeist-node-parachain:sha-49a1324"
export PARACHAIN_IMAGE="zeitgeistpm/zeitgeist-node-parachain:sha-8ea9683"
export PARACHAIN_NIMBUS_PK="0xe6ea0b63b2b5b7247a1e8280350a14c5f9e7745dec2fe3428b68aa4167d48e66"
export PARACHAIN_PORT="30000"
export PARACHAIN_RPC_PORT="8000"
export PARACHAIN_WS_PORT="9000"
export PARACHAIN="zeitgeist-battery-station-relay-parachain"

export VALIDATOR_FIRST_BOOTNODE_ADDR="/ip4/45.33.117.205/tcp/31001/p2p/12D3KooWHgbvdWFwNQiUPbqncwPmGCHKE8gUQLbzbCzaVbkJ1crJ"
export VALIDATOR_IMAGE="zeitgeistpm/zeitgeist-relay-chain:sha-f116c7a"
export VALIDATOR_IMAGE="zeitgeistpm/zeitgeist-relay-chain:sha-83c5243"
export VALIDATOR_PORT="31000"
export VALIDATOR_RPC_PORT="8100"
export VALIDATOR_SECOND_BOOTNODE_ADDR="/ip4/45.33.117.205/tcp/31002/p2p/12D3KooWE5KxMrfJLWCpaJmAPLWDm9rS612VcZg2JP6AYgxrGuuE"
Expand Down
5 changes: 2 additions & 3 deletions scripts/parachain/testing-network-commons.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ delete_container() {
}

generate_account_id() {
sudo docker run --rm $VALIDATOR_IMAGE $DOCKER_POLKADOT_BIN key inspect ${3:-} "$OVERALL_SECRET//$1//$2" | grep "Account ID" | awk '{ print $3 }'
sudo docker run --rm $VALIDATOR_IMAGE key inspect ${3:-} "$OVERALL_SECRET//$1//$2" | grep "Account ID" | awk '{ print $3 }'
}

generate_author_insertKey_with_account_id() {
Expand All @@ -35,7 +35,7 @@ generate_author_insertKey_with_public_key() {
}

generate_public_key() {
sudo docker run --rm $VALIDATOR_IMAGE $DOCKER_POLKADOT_BIN key inspect ${3:-} "$OVERALL_SECRET//$1//$2" | grep "Public key (hex)" | awk '{ print $4 }'
sudo docker run --rm $VALIDATOR_IMAGE key inspect ${3:-} "$OVERALL_SECRET//$1//$2" | grep "Public key (hex)" | awk '{ print $4 }'
}

initial_container_configurations() {
Expand Down Expand Up @@ -89,7 +89,6 @@ launch_validator() {
--name=$container_name \
--restart=always \
$VALIDATOR_IMAGE \
$DOCKER_POLKADOT_BIN \
--base-path=/data \
--chain=/zeitgeist/relay-chain-spec.json \
--name=$container_name \
Expand Down

0 comments on commit 15b6d75

Please sign in to comment.