Skip to content

Commit a09e38e

Browse files
fabianbormannnemo83
authored andcommitted
chore: make xtransfer independent of bash folder
1 parent 9ca82ea commit a09e38e

File tree

4 files changed

+8
-6
lines changed

4 files changed

+8
-6
lines changed

cardano/gateway/.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ OGMIOS_ENDPOINT=http://127.0.0.1:1337
1212
CARDANO_CHAIN_HOST=127.0.0.1
1313
CARDANO_CHAIN_PORT=3001
1414
CARDANO_NETWORK_MAGIC=42
15-
CARDANO_EPOCH_NONCE_GENESIS="2d03df430fd00811954020568afa35acdff2832f1d502bec2f4e5a966127948c"
15+
CARDANO_EPOCH_NONCE_GENESIS="2a3d5a64bba433f7a059a36c50b7023c0285631326ca6bb931c13cf05966a1f1"
1616

1717
MITHRIL_ENDPOINT=http://127.0.0.1:8080/aggregator
1818
MITHRIL_GENESIS_VERIFICATION_KEY=5b33322c3235332c3138362c3230312c3137372c31312c3131372c3133352c3138372c3136372c3138312c3138382c32322c35392c3230362c3130352c3233312c3135302c3231352c33302c37382c3231322c37362c31362c3235322c3138302c37322c3133342c3133372c3234372c3136312c36385d

caribic/src/main.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ async fn main() {
185185
project_root_path.join("relayer/.env.example").as_path(),
186186
project_root_path.join("relayer/examples").as_path(),
187187
project_root_path
188-
.join("cardano/deployments/handler.json")
188+
.join("cardano/offchain/deployments/handler.json")
189189
.as_path(),
190190
) {
191191
Ok(_) => logger::log("✅ Relayer started successfully"),
@@ -260,10 +260,12 @@ async fn main() {
260260
logger::log("\n❎ Cardano Network successfully");
261261
} else if target == StopTarget::Demo {
262262
stop_cosmos(project_root_path.join("chains/summit-demo/").as_path());
263+
stop_cosmos(project_root_path.join("cosmos").as_path());
263264
stop_osmosis(osmosis_dir.as_path());
264265
logger::log("\n❎ Demo services stopped successfully");
265266
} else if target == StopTarget::All {
266267
stop_cosmos(project_root_path.join("chains/summit-demo/").as_path());
268+
stop_cosmos(project_root_path.join("cosmos").as_path());
267269
stop_osmosis(osmosis_dir.as_path());
268270
bridge_down();
269271
network_down();

relayer/.env.example

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
SRC_RPC_ADDR=http://host.docker.internal:5001
2-
DST_RPC_ADDR=http://host.docker.internal:26657
1+
SRC_RPC_ADDR=http://localhost:5001
2+
DST_RPC_ADDR=http://0.0.0.0:26657
33

44
OGMIOS_ENDPOINT=ws://localhost:1337
55
CARDANO_CHAIN_NETWORK_MAGIC=42

relayer/scripts/xtransfer.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
path=demo
44
amount1=2000stake
5-
tokenName=$(cat ../../cardano/deployments/handler.json | jq -r .tokens.mock)
5+
tokenName=$(cat /root/.config/chain_handler.json | jq -r .tokens.mock)
66
amount2=1000-$tokenName
77

88
src_chain_name=ibc-0
@@ -14,7 +14,7 @@ dst_chain_name=ibc-1
1414
dst_port=transfer
1515
dst_address=cosmos1ycel53a5d9xk89q3vdr7vm839t2vwl08pl6zk6
1616

17-
alias rly=./bin/rly
17+
alias rly=/root/bin/rly
1818

1919
src_conn_id=$(rly config show --json | jq -r --arg path "$path" '.paths[$path].src."connection-id"')
2020
dst_conn_id=$(rly config show --json | jq -r --arg path "$path" '.paths[$path].dst."connection-id"')

0 commit comments

Comments
 (0)