Skip to content

Commit

Permalink
chore: remove unused files
Browse files Browse the repository at this point in the history
  • Loading branch information
duvbell committed May 28, 2024
1 parent 07a8c6b commit 8049c06
Show file tree
Hide file tree
Showing 13 changed files with 18 additions and 70 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@ pica-upgrade:

relayer-test-cleanup:
@echo "Cleaning up"
@rm -rf mytestnet > /dev/null 2>&1
@killall parachain-node > /dev/null 2>&1
@killall polkadot > /dev/null 2>&1
@./scripts/relayer_hyperspace/cleanup.sh
Expand Down
57 changes: 0 additions & 57 deletions kien-note.md

This file was deleted.

2 changes: 1 addition & 1 deletion scripts/50/migrate-wasm-code.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ DENOM="ppica"
HOME_DIR="mytestnet"
CHAINID="centauri-dev"
BINARY=_build/new/picad
WASM_CONTRACT_PATH="$PWD/bin/ics10_grandpa_cw.wasm"
WASM_CONTRACT_PATH="composable-ibc/target/wasm32-unknown-unknown/release/ics10_grandpa_cw.wasm"

WASM_CLIENT_ID="08-wasm-0"
HEX_CHECKSUM=$(sha256sum "$WASM_CONTRACT_PATH" | awk '{ print $1 }')
Expand Down
7 changes: 6 additions & 1 deletion scripts/50/store-wasm-code.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,17 @@ DENOM="ppica"
HOME_DIR="mytestnet"
CHAINID="centauri-dev"
BINARY=picad
WASM_CONTRACT_PATH="/home/kien6034/notional/composable-ibc/target/wasm32-unknown-unknown/release/ics10_grandpa_cw.wasm"
WASM_CONTRACT_PATH="composable-ibc/target/wasm32-unknown-unknown/release/ics10_grandpa_cw.wasm"

HEX_CHECKSUM=$(sha256sum "$WASM_CONTRACT_PATH" | awk '{ print $1 }')
echo "Hex checksum is: $HEX_CHECKSUM"


# Wait for chain to start
echo "Waiting for chain to start..."
sleep 10

exit 0
picad keys show mykey --keyring-backend test --home mytestnet

$BINARY tx ibc-wasm store-code $WASM_CONTRACT_PATH --from mykey --keyring-backend test --chain-id $CHAINID --home $HOME_DIR --gas 20002152622 --fees 20020166${DENOM} -y
Expand Down
2 changes: 1 addition & 1 deletion scripts/relayer_hyperspace/config-chain-a.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ connection_id = "connection-0"
commitment_prefix = "0x6962632f"
private_key = "//Alice"
ss58_version = 49
channel_whitelist = [["channel-0", "transfer"], ["channel-0", "transfer"], ["channel-0", "transfer"]]
channel_whitelist = [["channel-0", "transfer"], ["channel-0", "transfer"], ["channel-0", "transfer"], ["channel-0", "transfer"]]
finality_protocol = "Grandpa"
key_type = "sr25519"
6 changes: 3 additions & 3 deletions scripts/relayer_hyperspace/config-chain-b.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ rpc_url = "http://127.0.0.1:26657/"
grpc_url = "http://127.0.0.1:9090/"
websocket_url = "ws://127.0.0.1:26657/websocket"
chain_id = "centauri-dev"
client_id = "07-tendermint-0"
client_id = "07-tendermint-1"
connection_id = "connection-0"
account_prefix = "pica"
fee_denom = "ppica"
fee_amount = "9223372036854776"
gas_limit = 9223372036854775806
store_prefix = "ibc"
max_tx_size = 20000000
wasm_checksum = "e2597825980ba38dd6263fcdd15503f0832067570d341de819fbc9f77f390d5a"
channel_whitelist = [["channel-0", "transfer"], ["channel-0", "transfer"], ["channel-0", "transfer"]]
wasm_checksum = "2499377e7b99e1b621f980ffc2f6a9322742717c7ede1bf7c97235440450fffe"
channel_whitelist = [["channel-0", "transfer"], ["channel-0", "transfer"], ["channel-0", "transfer"], ["channel-0", "transfer"]]
mnemonic = "decorate bright ozone fork gallery riot bus exhaust worth way bone indoor calm squirrel merry zero scheme cotton until shop any excess stage laundry"
skip_optional_client_updates = false
max_packets_to_process = 50
Expand Down
2 changes: 1 addition & 1 deletion scripts/relayer_hyperspace/create-channel.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@

RUST_LOG=hyperspace_cosmos=trace,hyperspace=trace,info /home/kien6034/notional/composable-ibc/target/release/hyperspace create-channel --config-a scripts/relayer_hyperspace/config-chain-a.toml --config-b scripts/relayer_hyperspace/config-chain-b.toml --config-core scripts/relayer_hyperspace/config-core.toml --delay-period 10 --port-id transfer --version ics20-1 --order unordered
RUST_LOG=hyperspace_cosmos=trace,hyperspace=trace,info composable-ibc/target/release/hyperspace create-channel --config-a scripts/relayer_hyperspace/config-chain-a.toml --config-b scripts/relayer_hyperspace/config-chain-b.toml --config-core scripts/relayer_hyperspace/config-core.toml --delay-period 10 --port-id transfer --version ics20-1 --order unordered
2 changes: 1 addition & 1 deletion scripts/relayer_hyperspace/create-clients.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@

RUST_LOG=hyperspace_cosmos=trace,hyperspace=trace,info /home/kien6034/notional/composable-ibc/target/release/hyperspace create-clients --config-a scripts/relayer_hyperspace/config-chain-a.toml --config-b scripts/relayer_hyperspace/config-chain-b.toml --config-core scripts/relayer_hyperspace/config-core.toml --delay-period 10
RUST_LOG=hyperspace_cosmos=trace,hyperspace=trace,info composable-ibc/target/release/hyperspace create-clients --config-a scripts/relayer_hyperspace/config-chain-a.toml --config-b scripts/relayer_hyperspace/config-chain-b.toml --config-core scripts/relayer_hyperspace/config-core.toml --delay-period 10
2 changes: 1 addition & 1 deletion scripts/relayer_hyperspace/create-connections.sh
Original file line number Diff line number Diff line change
@@ -1 +1 @@
RUST_LOG=hyperspace_cosmos=trace,hyperspace=trace,info /home/kien6034/notional/composable-ibc/target/release/hyperspace create-connection --config-a scripts/relayer_hyperspace/config-chain-a.toml --config-b scripts/relayer_hyperspace/config-chain-b.toml --config-core scripts/relayer_hyperspace/config-core.toml --delay-period 10
RUST_LOG=hyperspace_cosmos=trace,hyperspace=trace,info composable-ibc/target/release/hyperspace create-connection --config-a scripts/relayer_hyperspace/config-chain-a.toml --config-b scripts/relayer_hyperspace/config-chain-b.toml --config-core scripts/relayer_hyperspace/config-core.toml --delay-period 10
2 changes: 1 addition & 1 deletion scripts/relayer_hyperspace/start-relay.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@

RUST_LOG=hyperspace_cosmos=trace,hyperspace=trace,info /home/kien6034/notional/composable-ibc/target/release/hyperspace relay --config-a scripts/relayer_hyperspace/config-chain-a.toml --config-b scripts/relayer_hyperspace/config-chain-b.toml --config-core scripts/relayer_hyperspace/config-core.toml --delay-period 10
RUST_LOG=hyperspace_cosmos=trace,hyperspace=trace,info composable-ibc/target/release/hyperspace relay --config-a scripts/relayer_hyperspace/config-chain-a.toml --config-b scripts/relayer_hyperspace/config-chain-b.toml --config-core scripts/relayer_hyperspace/config-core.toml --delay-period 10
2 changes: 1 addition & 1 deletion scripts/relayer_hyperspace/v47/create-clients.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@

RUST_LOG=hyperspace_cosmos=trace,hyperspace=trace,info /home/kien6034/notional/composable-ibc-old/bin/hyperspace create-clients --config-a scripts/relayer_hyperspace/config-chain-a.toml --config-b scripts/relayer_hyperspace/config-chain-b.toml --config-core scripts/relayer_hyperspace/config-core.toml --delay-period 10
RUST_LOG=hyperspace_cosmos=trace,hyperspace=trace,info composable-ibc/target/release/hyperspace create-clients --config-a scripts/relayer_hyperspace/config-chain-a.toml --config-b scripts/relayer_hyperspace/config-chain-b.toml --config-core scripts/relayer_hyperspace/config-core.toml --delay-period 10
2 changes: 1 addition & 1 deletion scripts/relayer_hyperspace/v47/create-connection.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@

RUST_LOG=hyperspace_cosmos=trace,hyperspace=trace,info /home/kien6034/notional/composable-ibc-old/bin/hyperspace create-connection --config-a scripts/relayer_hyperspace/config-chain-a.toml --config-b scripts/relayer_hyperspace/config-chain-b.toml --config-core scripts/relayer_hyperspace/config-core.toml --delay-period 10
RUST_LOG=hyperspace_cosmos=trace,hyperspace=trace,info composable-ibc/bin/hyperspace create-connection --config-a scripts/relayer_hyperspace/config-chain-a.toml --config-b scripts/relayer_hyperspace/config-chain-b.toml --config-core scripts/relayer_hyperspace/config-core.toml --delay-period 10
1 change: 0 additions & 1 deletion test

This file was deleted.

0 comments on commit 8049c06

Please sign in to comment.