diff --git a/backend/integration_tests/src/lib.rs b/backend/integration_tests/src/lib.rs index 2a9657dc7a..064a24bda0 100644 --- a/backend/integration_tests/src/lib.rs +++ b/backend/integration_tests/src/lib.rs @@ -35,7 +35,7 @@ mod message_activity_tests; mod notification_tests; mod p2p_swap_tests; mod pin_number_tests; -mod platform_moderator_tests; +// mod platform_moderator_tests; mod poll_tests; mod prize_message_tests; mod register_user_tests; diff --git a/scripts/proposals/expand_onto_subnet.sh b/scripts/proposals/expand_onto_subnet.sh new file mode 100755 index 0000000000..1a7e958845 --- /dev/null +++ b/scripts/proposals/expand_onto_subnet.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +# Extract the args or use defaults +SUBNET_ID=$1 +SUBNET_ID_SHORT=${SUBNET_ID:0:5} +SUMMARY="This proposal will instruct the Registry canister to expand OpenChat onto subnet [$SUBNET_ID_SHORT](https://dashboard.internetcomputer.org/subnet/$SUBNET_ID), allowing it to scale to many more users, groups and communities." + +# Build the title +TITLE="Expand OpenChat onto a new subnet" + +# Set current directory to the scripts root +SCRIPT=$(readlink -f "$0") +SCRIPT_DIR=$(dirname "$SCRIPT") +cd $SCRIPT_DIR/.. + +# add_canister args +ARGS="(record { subnet_id=principal \"$SUBNET_ID\" })" +FUNCTION_ID=7002 + +# Submit the proposal +./make_custom_function_proposal.sh $FUNCTION_ID "$TITLE" "$SUMMARY" "" "$ARGS" diff --git a/sns/scripts/proposals/create_custom_sns_functions/7002.registry.expand_onto_subnet.ini b/sns/scripts/proposals/create_custom_sns_functions/7002.registry.expand_onto_subnet.ini new file mode 100644 index 0000000000..46903f99b1 --- /dev/null +++ b/sns/scripts/proposals/create_custom_sns_functions/7002.registry.expand_onto_subnet.ini @@ -0,0 +1,3 @@ +FUNCTION_NAME="Expand OpenChat onto a new subnet" +FUNCTION_DESC="This will instruct the Registry to expand OpenChat onto a new subnet, allowing it to scale to many more users, groups and communities" +URL="https://github.com/open-chat-labs/open-chat/blob/master/backend/canisters/registry/impl/src/updates/expand_onto_subnet.rs" \ No newline at end of file