-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c1d539a
commit ea025fb
Showing
3 changed files
with
44 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
set -ex | ||
mkdir -p ~/.hermes/ | ||
cp ./scripts/ci/upgrade/v1.7/config.toml ~/.hermes/ | ||
hermes keys add --chain stargaze --key-name relayer --key-file $PWD/scripts/ci/hermes/stargaze.json | ||
hermes keys add --chain gaia --key-name relayer --key-file $PWD/scripts/ci/hermes/gaia.json | ||
hermes keys add --chain osmosis --key-name relayer --key-file $PWD/scripts/ci/hermes/osmosis.json | ||
hermes keys add --chain icad --key-name relayer --key-file $PWD/scripts/ci/hermes/icad.json | ||
hermes start | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
set -ex | ||
mkdir -p ~/.hermes/ | ||
cp ./scripts/ci/upgrade/v1.7/config.toml ~/.hermes/ | ||
hermes keys add --chain stargaze --key-name relayer --key-file $PWD/scripts/ci/hermes/stargaze.json | ||
hermes keys add --chain gaia --key-name relayer --key-file $PWD/scripts/ci/hermes/gaia.json | ||
hermes keys add --chain osmosis --key-name relayer --key-file $PWD/scripts/ci/hermes/osmosis.json | ||
hermes keys add --chain icad --key-name relayer --key-file $PWD/scripts/ci/hermes/icad.json | ||
sleep 10 | ||
hermes tx ft-transfer --dst-chain gaia --src-chain stargaze --src-port transfer --src-channel channel-0 --amount 1000 --denom ustars --timeout-seconds 30 | ||
sleep 10 | ||
hermes tx ft-transfer --dst-chain stargaze --src-chain gaia --src-port transfer --src-channel channel-0 --amount 1000 --denom stake --timeout-seconds 30 | ||
sleep 10 | ||
hermes tx ft-transfer --dst-chain osmosis --src-chain stargaze --src-port transfer --src-channel channel-1 --amount 1000 --denom ustars --timeout-seconds 30 | ||
sleep 10 | ||
hermes tx ft-transfer --dst-chain stargaze --src-chain osmosis --src-port transfer --src-channel channel-0 --amount 1000 --denom uosmo --timeout-seconds 30 | ||
# hermes tx raw ft-transfer stargaze gaia transfer channel-0 9999 -d stake -o 1000 -n 2 | ||
# sleep 10 | ||
# hermes tx raw ft-transfer gaia stargaze transfer channel-0 9999 -d ustars -o 1000 -n 2 | ||
# sleep 10 | ||
# hermes tx raw ft-transfer stargaze osmosis transfer channel-0 9999 -d uosmo -o 1000 -n 2 | ||
# sleep 10 | ||
# hermes tx raw ft-transfer osmosis stargaze transfer channel-1 9999 -d ustars -o 1000 -n 2 | ||
|
||
sleep 30 | ||
export GAIA_ADDRESS=cosmos1wt3khka7cmn5zd592x430ph4zmlhf5gfztgha6 | ||
export STARGAZE_ADDRESS=stars12g0xe2ld0k5ws3h7lmxc39d4rpl3fyxp5qys69 | ||
export OSMOSIS_ADDRESS=osmo1qk2rqkk28z8v3d7npupz33zqc6dae6n9a2x5v4 | ||
curl -s http://gaia:1317/bank/balances/$GAIA_ADDRESS | jq '.' | ||
curl -s http://stargaze:1317/bank/balances/$STARGAZE_ADDRESS | jq '.' | ||
curl -s http://osmosis:1317/bank/balances/$OSMOSIS_ADDRESS | jq '.' |