Add a script to generate stage1 genesis file from given participants and allocations #14
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user