From c6bf8f0c2916bf2f700cea6875c3a2c0ef0902df Mon Sep 17 00:00:00 2001 From: Unique-Divine Date: Wed, 3 Aug 2022 18:46:06 -0500 Subject: [PATCH] (localnet.sh): add --overwrite flag to the nibid init call --- CHANGELOG.md | 1 + scripts/localnet.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 312440993..cba013153 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -47,6 +47,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 * [#775](https://github.com/NibiruChain/nibiru/pull/775) - bump google.golang.org/protobuf from 1.28.0 to 1.28.1 * [#768](https://github.com/NibiruChain/nibiru/pull/768) - add simulation tests to make file * [#767](https://github.com/NibiruChain/nibiru/pull/767) - add fluctuation limit checks on `OpenPosition`. +* [#788](https://github.com/NibiruChain/nibiru/pull/788) - add --overwrite flag to the nibid init call of localnet.sh ### Bug Fixes diff --git a/scripts/localnet.sh b/scripts/localnet.sh index f01d345b0..aacf91c9e 100755 --- a/scripts/localnet.sh +++ b/scripts/localnet.sh @@ -61,7 +61,7 @@ fi # Initialize nibid with "localnet" chain id echo_info "Initializing $CHAIN_ID..." -if $BINARY init nibiru-localnet-0 --home $CHAIN_HOME_DIR --chain-id $CHAIN_ID; then +if $BINARY init nibiru-localnet-0 --home $CHAIN_HOME_DIR --chain-id $CHAIN_ID --overwrite; then echo_success "Successfully initialized $CHAIN_ID" else echo_error "Failed to initialize $CHAIN_ID"