Skip to content

Commit

Permalink
fixed demos
Browse files Browse the repository at this point in the history
  • Loading branch information
akure committed Feb 15, 2023
1 parent 6d17351 commit 7ad6686
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions demos/osmosis-config/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ cd ./demos/osmosis-config
After this you should see block logs written in the stdout of your terminal.

# Config and Start the Hermes Relayer
Before running the relayer checkout http://localhost:1311/quasarlabs/quasarnode/qoracle/state by default the response should be:
Before running the relayer checkout http://localhost:1311/quasarlabs/quasarnode/qoracle/osmosis/state by default the response should be:
```json
{
"coin_rates_state": {
Expand Down Expand Up @@ -135,7 +135,7 @@ Before updating the osmosis chain params http://localhost:1311/quasarlabs/quasar
```
To Update the chain params of osmosis in quasar run the following command:
```bash
quasarnoded tx qoracle update-osmosis-chain-params --node tcp://localhost:26659 --from alice --home ~/.quasarnode --chain-id quasar --output json --keyring-backend test
quasarnoded tx qoracle osmosis update-osmosis-chain-params --node tcp://localhost:26659 --from alice --home ~/.quasarnode --chain-id quasar --output json --keyring-backend test
```
After hermes relayed the acknowledgement the result of http://localhost:1311/quasarlabs/quasarnode/qoracle/osmosis/chain_params will change to:
```json
Expand Down
1 change: 1 addition & 0 deletions demos/osmosis-config/osmo_localnet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -157,3 +157,4 @@ cat $HOME_OSMOSIS/config/genesis_original.json |

# Start
$BINARY start --home $HOME_OSMOSIS > osmosis.log 2>&1 &
.
4 changes: 2 additions & 2 deletions demos/osmosis-config/quasar_localnet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ cat $HOME_QSR/config/genesis_original.json |
jq '.app_state.gov.deposit_params.min_deposit=[{denom:"uqsr",amount:"1"}]' |
jq '.app_state.gov.voting_params.voting_period="60s"' |
jq '.app_state.gov.tally_params={quorum:"0.000000000000000001",threshold:"0.5",veto_threshold:"0.334"}' |
jq '.app_state.qoracle.bandchain_genesis_state.params.authorized_channel="channel-0"' |
jq '.app_state.qoracle.osmosis_genesis_state.params.authorized_channel="channel-1"' |
# jq '.app_state.qoracle.bandchain_genesis_state.params.authorized_channel="channel-0"' |
jq '.app_state.qoracle.osmosis_genesis_state.params.authorized_channel="channel-0"' |
jq '.app_state.qoracle.bandchain_genesis_state.params.coin_rates_params.script_params.fee_limit[0].amount="200"' > $HOME_QSR/config/genesis.json

# Start
Expand Down

0 comments on commit 7ad6686

Please sign in to comment.