From 2a9287321dc4cc35c7f5a5d3058350bbdb09f827 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=ADder=20Cantu=C3=A1ria?= Date: Fri, 17 May 2024 17:33:14 -0300 Subject: [PATCH] Updated config and bin build --- bin/build.sh | 10 +++++++++- configs/config.yaml | 8 +++++--- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/bin/build.sh b/bin/build.sh index 5dad9dfc8..d45b99a98 100755 --- a/bin/build.sh +++ b/bin/build.sh @@ -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 diff --git a/configs/config.yaml b/configs/config.yaml index 4b9277769..1739553fa 100644 --- a/configs/config.yaml +++ b/configs/config.yaml @@ -1,8 +1,10 @@ chain: - bech32_prefix: cosmos + bech32_prefix: agoric modules: + - modules + - messages - actions - - pricefeed + node: type: remote config: @@ -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 \ No newline at end of file