Add steps to generate exported state and mainnet genesis file

This commit is contained in:
2025-05-14 19:28:49 +05:30
parent b8924fa7fb
commit 0e8153cb3a
3 changed files with 49 additions and 9 deletions
+2
View File
@@ -43,5 +43,7 @@ jq --arg old "$zero_address" --arg new "$lps_lockup_address" \
'.app_state.bank.balances |= map(if .address == $old then .address = $new else . end)' "$mainnet_genesis_file" > tmp.$$.json \
&& mv tmp.$$.json "$mainnet_genesis_file"
# TODO: Dump JSON for allocations in LPS_LOCKUP_MODULE_ACCOUNT state
# Ensure that resulting genesis file is valid
laconicd genesis validate