Add scripts to initialize stage2 testnet #16

Merged
nabarun merged 4 commits from pm-stage2-scripts into main 2024-10-24 07:23:33 +00:00
Showing only changes of commit 1820444954 - Show all commits

View File

@ -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