Set empty permissions for lps lockup account
This commit is contained in:
parent
be81ee4639
commit
5c83f75c62
@ -40,6 +40,8 @@ lps_lockup_address=$(jq -r '.app_state.auth.accounts[] | select(.name == "lps_lo
|
||||
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"
|
||||
jq '(.app_state.auth.accounts[] | select(.name == "lps_lockup") | .permissions) = []' "$mainnet_genesis_file" > tmp.$$.json \
|
||||
&& mv tmp.$$.json "$mainnet_genesis_file"
|
||||
|
||||
# TODO: Dump JSON for allocations in LPS_LOCKUP_MODULE_ACCOUNT state
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user