From 5c83f75c62c7ba4f49bb40c97080a3f48f1c5d6b Mon Sep 17 00:00:00 2001 From: Prathamesh Musale Date: Thu, 15 May 2025 11:40:49 +0530 Subject: [PATCH] Set empty permissions for lps lockup account --- scripts/genesis.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/genesis.sh b/scripts/genesis.sh index 301fa90..32822f8 100755 --- a/scripts/genesis.sh +++ b/scripts/genesis.sh @@ -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