diff --git a/CHANGELOG.md b/CHANGELOG.md index a427e07ef..31d0bfabd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -50,6 +50,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 * [#798](https://github.com/NibiruChain/nibiru/pull/798) - fix integration tests caused by PR #786 * [#801](https://github.com/NibiruChain/nibiru/pull/801) - remove unused pair constants +* [#788](https://github.com/NibiruChain/nibiru/pull/788) - add --overwrite flag to the nibid init call of localnet.sh ## [v0.12.1](https://github.com/NibiruChain/nibiru/releases/tag/v0.12.1) - 2022-08-04 @@ -63,7 +64,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 * [#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`. * [#786](https://github.com/NibiruChain/nibiru/pull/786) - add genesis params in localnet script. - + ### Bug Fixes * [#766](https://github.com/NibiruChain/nibiru/pull/766) - Fixed margin ratio calculation for trader position. diff --git a/scripts/localnet.sh b/scripts/localnet.sh index 9a1ff3288..ad9f5dbe7 100755 --- a/scripts/localnet.sh +++ b/scripts/localnet.sh @@ -60,7 +60,7 @@ fi # Initialize nibid with "localnet" chain id echo_info "Initializing $CHAIN_ID..." -if $BINARY init nibiru-localnet-0 --chain-id $CHAIN_ID; then +if $BINARY init nibiru-localnet-0 --chain-id $CHAIN_ID --overwrite; then echo_success "Successfully initialized $CHAIN_ID" else echo_error "Failed to initialize $CHAIN_ID"