From 72ef73bbc9322e6f0ae2c8a7a0bf5d3f5ada664c Mon Sep 17 00:00:00 2001 From: Hoa Nguyen Date: Wed, 27 Dec 2023 20:17:21 +0700 Subject: [PATCH] fix: path incorrect (#375) --- scripts/testnode.sh | 4 ++-- scripts/upload_contracts.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/testnode.sh b/scripts/testnode.sh index 0b87a3c5b..3cb62ce86 100755 --- a/scripts/testnode.sh +++ b/scripts/testnode.sh @@ -11,7 +11,7 @@ LOGLEVEL="info" TRACE="" # remove existing daemon -rm -rf ~/.centauri* +rm -rf ~/.banksy* centaurid config keyring-backend $KEYRING centaurid config chain-id $CHAINID @@ -39,7 +39,7 @@ fi # update request max size so that we can upload the light client # '' -e is a must have params on mac, if use linux please delete before run -sed -i'' -e 's/max_body_bytes = /max_body_bytes = 1/g' ~/.centauri/config/config.toml +sed -i'' -e 's/max_body_bytes = /max_body_bytes = 1/g' ~/.banksy/config/config.toml # Start the node (remove the --pruning=nothing flag if historical queries are not needed) centaurid start --pruning=nothing --minimum-gas-prices=0.0001stake --rpc.laddr tcp://0.0.0.0:26657 diff --git a/scripts/upload_contracts.sh b/scripts/upload_contracts.sh index 4a2e7da96..c6238de97 100755 --- a/scripts/upload_contracts.sh +++ b/scripts/upload_contracts.sh @@ -9,7 +9,7 @@ KEYRING="test" command -v jq > /dev/null 2>&1 || { echo >&2 "jq not installed. More info: https://stedolan.github.io/jq/download/"; exit 1; } # remove existing daemon -rm -rf ~/.centauri* +rm -rf ~/.banksy* ~/go/bin/centaurid config keyring-backend $KEYRING ~/go/bin/centaurid config chain-id $CHAINID