Skip to content

Commit

Permalink
add second multisig addr
Browse files Browse the repository at this point in the history
  • Loading branch information
quasisamurai committed Jul 29, 2023
1 parent d7398f1 commit def6efe
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions network/init-neutrond.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ CHAIN_DIR="$BASE_DIR/$CHAINID"
GENESIS_PATH="$CHAIN_DIR/config/genesis.json"

ADMIN_ADDRESS=$($BINARY keys show demowallet1 -a --home "$CHAIN_DIR" --keyring-backend test)
SECOND_MULTISIG_ADDRESS=$($BINARY keys show demowallet2 -a --home "$CHAIN_DIR" --keyring-backend test)
# MAIN_DAO
DAO_CONTRACT=$CONTRACTS_BINARIES_DIR/cwd_core.wasm
PRE_PROPOSAL_CONTRACT=$CONTRACTS_BINARIES_DIR/cwd_pre_propose_single.wasm
Expand Down Expand Up @@ -413,6 +414,10 @@ CW4_VOTE_INIT_MSG='{
{
"addr": "'"$ADMIN_ADDRESS"'",
"weight": 1
},
{
"addr": "'"$SECOND_MULTISIG_ADDRESS"'",
"weight": 1
}
]
}'
Expand Down Expand Up @@ -529,7 +534,7 @@ GRANTS_SUBDAO_PROPOSAL_INIT_MSG='{
"close_proposal_on_execution_failure":false,
"threshold":{
"absolute_count":{
"threshold": "1"
"threshold": "2"
}
}
}'
Expand Down Expand Up @@ -628,8 +633,4 @@ if ! jq -e . "$GENESIS_PATH" >/dev/null 2>&1; then
fi

echo "DAO $DAO_CONTRACT_ADDRESS"
echo "overrule pre propose $PRE_PROPOSAL_OVERRULE_CONTRACT_ADDRESS"
echo "single $PROPOSAL_SINGLE_CONTRACT_ADDRESS"
echo "multiple $PROPOSAL_MULTIPLE_CONTRACT_ADDRESS"
echo "overrule $PROPOSAL_OVERRULE_CONTRACT_ADDRESS"
echo "voting $VOTING_REGISTRY_CONTRACT_ADDRESS"

0 comments on commit def6efe

Please sign in to comment.