Skip to content

Commit

Permalink
Updated config and bin build
Browse files Browse the repository at this point in the history
  • Loading branch information
devcantuaria committed May 17, 2024
1 parent 8463af5 commit 2a92873
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
10 changes: 9 additions & 1 deletion bin/build.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
#!/bin/bash

# Check if a folder path is provided as parameter
if [ "$1" == "--clean" ]; then
# Remove database
sh ./bin/prune.sh -db
fi

# Bring up Hasura service
sudo docker compose up -d --build
sudo docker compose up -d --build postgres
sudo docker compose up -d --build bdjuno
sudo docker compose up -d --build hasura

# Sleep for 30 seconds
sleep 30s
Expand Down
8 changes: 5 additions & 3 deletions configs/config.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
chain:
bech32_prefix: cosmos
bech32_prefix: agoric
modules:
- modules
- messages
- actions
- pricefeed

node:
type: remote
config:
Expand Down Expand Up @@ -42,7 +44,7 @@ pricefeed:
exponent: 0
- denom: bld
exponent: 6
price_id: agoric
price_id: agoric
actions:
host: 172.20.0.6
port: 3000

0 comments on commit 2a92873

Please sign in to comment.