From 1820444954104b8c656e09369af140ff9481994b Mon Sep 17 00:00:00 2001 From: Prathamesh Musale Date: Mon, 21 Oct 2024 19:12:25 +0530 Subject: [PATCH] Update stage2 init script to disallow duplicate IP connections --- .../fixturenet-laconicd/scripts/generate-stage2-genesis.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/stack-orchestrator/stacks/fixturenet-laconicd/scripts/generate-stage2-genesis.sh b/stack-orchestrator/stacks/fixturenet-laconicd/scripts/generate-stage2-genesis.sh index e7b3aa2..43adcbd 100755 --- a/stack-orchestrator/stacks/fixturenet-laconicd/scripts/generate-stage2-genesis.sh +++ b/stack-orchestrator/stacks/fixturenet-laconicd/scripts/generate-stage2-genesis.sh @@ -69,9 +69,6 @@ remove_module_accounts # Set all account sequences to 0 jq '(.app_state.auth.accounts[] | select(has("sequence")) | .sequence) = "0"' "$stage2_genesis_file" > tmp.$$.json && mv tmp.$$.json "$stage2_genesis_file" -# Allow multiple node connections from same IP -sed -i 's/allow_duplicate_ip.*$/allow_duplicate_ip = true/' $HOME/.laconicd/config/config.toml - # Sign genesis transaction # 10^15 alnt laconicd genesis gentx $KEY $STAKING_AMOUNT$DENOM --keyring-backend $KEYRING --chain-id $CHAINID