Skip to content

Commit

Permalink
pr fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Yarom Swisa authored and Yarom Swisa committed Jan 22, 2024
1 parent bf8d48a commit 80a32a0
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
3 changes: 2 additions & 1 deletion scripts/relayer/init_chain_2.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
# make install-all
# this scripts boots up another chain in different ports to run in parrallel with the regular /scripts/init_chain.sh script
__dir=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
source $__dir/../useful_commands.sh

Expand Down Expand Up @@ -40,6 +40,7 @@ if [ "$1" == "debug" ]; then
| jq '.app_state.crisis.constant_fee.denom = "ulava"' \
| jq '.app_state.epochstorage.params.epochsToSave = "5"' \
| jq '.app_state.epochstorage.params.epochBlocks = "4"' \
| jq '.app_state.downtime.params.downtime_duration = "1s"' \
)
else
# Edit genesis file without the additional line
Expand Down
3 changes: 2 additions & 1 deletion scripts/relayer/init_relay.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
# make install-all
# this scripts boots up a relayer between the 2 local chain (using init_chain.sh and init_chain_2.sh)
killall -9 rly
rm -rf ~/.relayer/
__dir=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
Expand All @@ -22,3 +22,4 @@ rly keys use lava-local-2 rly2

rly paths new lava-local-1 lava-local-2 demo-path
rly tx link demo-path -d -t 3s

4 changes: 2 additions & 2 deletions scripts/relayer/lav1.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"rpc-addr": "http://127.0.0.1:26657",
"account-prefix": "lava@",
"keyring-backend": "test",
"gas-adjustment": 1.2,
"gas-prices": "0.000001ulava",
"gas-adjustment": 1.5,
"gas-prices": "0.000000001ulava",
"debug": true,
"timeout": "40s",
"output-format": "json",
Expand Down
4 changes: 2 additions & 2 deletions scripts/relayer/lav2.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"rpc-addr": "http://127.0.0.1:36657",
"account-prefix": "lava@",
"keyring-backend": "test",
"gas-adjustment": 1.2,
"gas-prices": "0.000001ulava",
"gas-adjustment": 1.5,
"gas-prices": "0.000000001ulava",
"debug": true,
"timeout": "40s",
"output-format": "json",
Expand Down

0 comments on commit 80a32a0

Please sign in to comment.