Add a script to generate stage1 genesis file from given participants and allocations #14

Merged
nabarun merged 4 commits from pm-genesis-gen-using-json into main 2024-08-19 09:57:55 +00:00
Showing only changes of commit f27ff06e63 - Show all commits

View File

@ -21,7 +21,7 @@ participants=$(jq -c '.' $stage1_participants_file)
jq --argjson p "$participants" '.app_state.onboarding.participants = $p' "$stage1_genesis_file" > tmp.$$.json && mv tmp.$$.json "$stage1_genesis_file"
# Disable bank module transfers
jq '.app_state["bank"]["params"]["default_send_enabled"]=false' "$stage1_genesis_file" > tmp.$$.json && mv tmp.$$.json "$stage1_genesis_file"
# jq '.app_state["bank"]["params"]["default_send_enabled"]=false' "$stage1_genesis_file" > tmp.$$.json && mv tmp.$$.json "$stage1_genesis_file"
# Read and assign allocations
jq -c '.[]' "$stage1_allocations_file" | while IFS= read -r line; do