Skip to content

Commit 1587a2e

Browse files
committed
chore: add proposals to add CycleOps blackhole as ic-oss-bucket canisters's controller
1 parent 0f111e7 commit 1587a2e

File tree

4 files changed

+75
-1
lines changed

4 files changed

+75
-1
lines changed

proposals/proposal-213.sh

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
#!/usr/bin/env bash
2+
3+
# Load the environment variables
4+
source "$(pwd)"/proposals/env.sh
5+
6+
quill sns make-proposal --canister-ids-file ./sns_canister_ids.json --pem-file $PROPOSAL_PEM_FILE $PROPOSAL_NEURON_ID --proposal '(
7+
record {
8+
title = "Add a generic function \"admin_update_bucket_canister_settings\" to IC-OSS service";
9+
url = "https://internetcomputer.org/docs/current/developer-docs/daos/sns/managing/sns-asset-canister#sns-genericnervoussystemfunctions";
10+
summary = "The `admin_update_bucket_canister_settings` function is used to update bucket canister settings from the ic_oss_cluster canister.";
11+
action = opt variant {
12+
AddGenericNervousSystemFunction = record {
13+
id = 1_114 : nat64;
14+
name = "`admin_update_bucket_canister_settings` function";
15+
description = opt "It is used to update bucket canister settings from the ic_oss_cluster canister.";
16+
function_type = opt variant {
17+
GenericNervousSystemFunction = record {
18+
validator_canister_id = opt principal "5szpn-tiaaa-aaaaj-qncoq-cai";
19+
target_canister_id = opt principal "5szpn-tiaaa-aaaaj-qncoq-cai";
20+
validator_method_name = opt "validate_admin_update_bucket_canister_settings";
21+
target_method_name = opt "admin_update_bucket_canister_settings";
22+
}
23+
};
24+
}
25+
};
26+
}
27+
)' > proposal-message.json
28+
29+
# quill send proposal-message.json

proposals/proposal-214.sh

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
#!/usr/bin/env bash
2+
3+
# Load the environment variables
4+
source "$(pwd)"/proposals/env.sh
5+
6+
export BLOB="$(didc encode --format blob '(record {canister_id=principal "532er-faaaa-aaaaj-qncpa-cai"; settings=record { controllers = opt vec {principal "5szpn-tiaaa-aaaaj-qncoq-cai"; principal "5vdms-kaaaa-aaaap-aa3uq-cai";}}})')"
7+
8+
quill sns make-proposal --canister-ids-file ./sns_canister_ids.json --pem-file $PROPOSAL_PEM_FILE $PROPOSAL_NEURON_ID --proposal "(
9+
record {
10+
title = \"Execute admin_update_bucket_canister_settings() to update ic-oss-bucket controllers\";
11+
url = \"https://github.com/ldclabs/ic-oss/blob/main/src/ic_oss_cluster/src/api_admin.rs#L490\";
12+
summary = \"This proposal executes admin_update_bucket_canister_settings() on ic_oss_cluster 5szpn-tiaaa-aaaaj-qncoq-cai to add CycleOps blackhole 5vdms-kaaaa-aaaap-aa3uq-cai as ic-oss-bucket 532er-faaaa-aaaaj-qncpa-cai controllers.\";
13+
action = opt variant {
14+
ExecuteGenericNervousSystemFunction = record {
15+
function_id = 1_114 : nat64;
16+
payload = ${BLOB};
17+
}
18+
};
19+
}
20+
)" > proposal-message.json
21+
22+
# quill send proposal-message.json

proposals/proposal-215.sh

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
#!/usr/bin/env bash
2+
3+
# Load the environment variables
4+
source "$(pwd)"/proposals/env.sh
5+
6+
export BLOB="$(didc encode --format blob '(record {canister_id=principal "sb6zj-3aaaa-aaaaj-qndla-cai"; settings=record { controllers = opt vec {principal "5szpn-tiaaa-aaaaj-qncoq-cai"; principal "5vdms-kaaaa-aaaap-aa3uq-cai";}}})')"
7+
8+
quill sns make-proposal --canister-ids-file ./sns_canister_ids.json --pem-file $PROPOSAL_PEM_FILE $PROPOSAL_NEURON_ID --proposal "(
9+
record {
10+
title = \"Execute admin_update_bucket_canister_settings() to update ic-oss-bucket controllers\";
11+
url = \"https://github.com/ldclabs/ic-oss/blob/main/src/ic_oss_cluster/src/api_admin.rs#L490\";
12+
summary = \"This proposal executes admin_update_bucket_canister_settings() on ic_oss_cluster 5szpn-tiaaa-aaaaj-qncoq-cai to add CycleOps blackhole 5vdms-kaaaa-aaaap-aa3uq-cai as ic-oss-bucket sb6zj-3aaaa-aaaaj-qndla-cai controllers.\";
13+
action = opt variant {
14+
ExecuteGenericNervousSystemFunction = record {
15+
function_id = 1_114 : nat64;
16+
payload = ${BLOB};
17+
}
18+
};
19+
}
20+
)" > proposal-message.json
21+
22+
# quill send proposal-message.json

sns_functions.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,5 @@
1616
1_110 ijyxz-wyaaa-aaaaj-qa4qa-cai admin_remove_managers
1717
1_111 nvdn4-5qaaa-aaaaj-qa4pq-cai admin_remove_managers
1818
1_112 zof5a-5yaaa-aaaai-acr2q-cai admin_remove_managers
19-
1_113 4jxyd-pqaaa-aaaah-qdqtq-cai admin_remove_managers
19+
1_113 4jxyd-pqaaa-aaaah-qdqtq-cai admin_remove_managers
20+
1_114 5szpn-tiaaa-aaaaj-qncoq-cai admin_update_bucket_canister_settings

0 commit comments

Comments
 (0)