From d34d6fe3e54d7b918b11d285108e29f3f1b2906c Mon Sep 17 00:00:00 2001 From: Nguyen Thanh Nhan | Decentrio Date: Sat, 27 Apr 2024 16:11:35 +0700 Subject: [PATCH] chore: Fixed wrong logic in `init.sh` (#202) Co-authored-by: github-actions --- CHANGELOG.md | 3 ++- scripts/init.sh | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3ef727ef..b06b70c8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,10 @@ -# [](https://github.com/dymensionxyz/rollapp-evm/compare/v2.2.0-alpha...v) (2024-04-26) +# [](https://github.com/dymensionxyz/rollapp-evm/compare/v2.2.0-alpha...v) (2024-04-27) ### Bug Fixes * **app:** fixed bech32 on account keeper to not be hardcoded ([#165](https://github.com/dymensionxyz/rollapp-evm/issues/165)) ([750d1e7](https://github.com/dymensionxyz/rollapp-evm/commit/750d1e70ad052daf7b2942bcecaf0dddfbc17d90)) +* **app:** initialize transferkeeper before denommetadatakeeper to avoid nil pointer error ([#194](https://github.com/dymensionxyz/rollapp-evm/issues/194)) ([8050f59](https://github.com/dymensionxyz/rollapp-evm/commit/8050f59de96fde9130b00738048462860ce51be8)) * **deps:** bumps `block-explorer-rpc-cosmos v1.0.3` & `evm-block-explorer-rpc-cosmos` v1.0.3 ([#142](https://github.com/dymensionxyz/rollapp-evm/issues/142)) ([ea5e5fd](https://github.com/dymensionxyz/rollapp-evm/commit/ea5e5fdc854d5a4fa4079c4d79b79732e78cf9d8)) * **init scripts:** update account-prefix in ibc script ([#190](https://github.com/dymensionxyz/rollapp-evm/issues/190)) ([25be6c3](https://github.com/dymensionxyz/rollapp-evm/commit/25be6c3dda7885870d514438548e10daad45f4d7)) * **local script:** updated default genesis created on extended guide with EIP 3855 ([#183](https://github.com/dymensionxyz/rollapp-evm/issues/183)) ([d201be4](https://github.com/dymensionxyz/rollapp-evm/commit/d201be4ee6757c912ecae568207c1ea358387cae)) diff --git a/scripts/init.sh b/scripts/init.sh index 38df36bb..60b225f5 100755 --- a/scripts/init.sh +++ b/scripts/init.sh @@ -113,7 +113,7 @@ jq --arg addr "$operator_address" '.app_state["sequencers"]["genesis_operator_ad # Ask if to include a governor on genesis echo "Do you want to include a governor on genesis? (Y/n) " read -r answer -if [ "$answer" != "${answer#[Nn]}" ] ; then +if [ ! "$answer" != "${answer#[Nn]}" ] ;then "$EXECUTABLE" gentx "$KEY_NAME_ROLLAPP" "$STAKING_AMOUNT" --chain-id "$ROLLAPP_CHAIN_ID" --keyring-backend test --home "$ROLLAPP_HOME_DIR" "$EXECUTABLE" collect-gentxs --home "$ROLLAPP_HOME_DIR" fi