Skip to content

Commit

Permalink
feat: update file docker-compose osmosis
Browse files Browse the repository at this point in the history
  • Loading branch information
dtkhanh-smartosc committed May 6, 2024
1 parent 8df4491 commit b39d8ce
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 92 deletions.
92 changes: 0 additions & 92 deletions chains/osmosis/configuration/osmosis-local/config/app.toml

This file was deleted.

11 changes: 11 additions & 0 deletions chains/osmosis/scripts/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,16 @@ install_prerequisites () {
apk add dasel
}

edit_app_toml () {
APP=$CONFIG_FOLDER/app.toml

dasel put -f $APP '.api.address' -v 'tcp://0.0.0.0:1317'
dasel put -f $APP '.grpc.address' -v '0.0.0.0:9090'
dasel put -f $APP '.grpc-web.address' -v '0.0.0.0:9091'
dasel put -f $APP '.osmosis-sqs.address' -v '0.0.0.0:50051'

}

edit_genesis () {

GENESIS=$CONFIG_FOLDER/genesis.json
Expand Down Expand Up @@ -202,6 +212,7 @@ then
install_prerequisites
edit_genesis
add_genesis_accounts
edit_app_toml
edit_config
enable_cors
fi
Expand Down

0 comments on commit b39d8ce

Please sign in to comment.