Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/feat/sdk50' into feat/sdk50
Browse files Browse the repository at this point in the history
  • Loading branch information
hoank101 committed Apr 26, 2024
2 parents 6c7091d + 3ad4f45 commit ccdcded
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 50 deletions.
6 changes: 3 additions & 3 deletions scripts/upgrade/init-deps.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

OLD_VERSION=kien-picad-6.6
OLD_VERSION=kien-picad-661
SOFTWARE_UPGRADE_NAME="v7_0_1"
ROOT=$(pwd)

Expand All @@ -14,10 +14,10 @@ mkdir -p _build/
# Consider using submodule, or firgure this out
if [ ! -d "_build/composable/.git" ]; then
cd _build/
git clone https://github.com/ComposableFi/composable.git composable
git clone https://github.com/notional-labs/composable.git composable
cd composable
git checkout "$COMPOSABLE_VERSION"
cd ../.././
cd ../../.
fi


Expand Down
47 changes: 0 additions & 47 deletions scripts/upgrade/init_deps.sh

This file was deleted.

1 change: 1 addition & 0 deletions scripts/upgrade/old-node-scripts.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
ADDITIONAL_SCRIPTS=(
"./scripts/upgrade/v_6_6_0/setup-08-wasm.sh"
"./scripts/upgrade/v_6_6_0/setup-relayer-account.sh"
)

for SCRIPT in "${ADDITIONAL_SCRIPTS[@]}"; do
Expand Down
16 changes: 16 additions & 0 deletions scripts/upgrade/v_6_6_0/setup-relayer-account.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/bin/bash
KEY=mykey
KEY1=mykey1
KEYALGO="secp256k1"
KEYRING="test"
HOME_DIR="mytestnet"
BINARY=_build/old/picad
DENOM=ppica
CHAINID=centauri-dev

MYKEY1_ADDRESS=$($BINARY keys show $KEY1 -a --keyring-backend $KEYRING --home $HOME_DIR)
echo "Address of mykey1: $MYKEY1_ADDRESS"


$BINARY tx transmiddleware add-rly --from $KEY1 $MYKEY1_ADDRESS --keyring-backend test --home $HOME_DIR --chain-id $CHAINID --fees 100000${DENOM} -y
sleep 5

0 comments on commit ccdcded

Please sign in to comment.