File tree Expand file tree Collapse file tree 6 files changed +86
-2
lines changed Expand file tree Collapse file tree 6 files changed +86
-2
lines changed Original file line number Diff line number Diff line change @@ -20,4 +20,4 @@ quill sns make-proposal --canister-ids-file ./sns_canister_ids.json --pem-file $
20
20
}
21
21
)' > proposal-message.json
22
22
23
- quill send proposal-message.json
23
+ # quill send proposal-message.json
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+
3
+ # Load the environment variables
4
+ source " $( pwd) " /proposals/env.sh
5
+
6
+ export CANISTERS_PATH=" $( pwd) /.dfx/ic/github"
7
+
8
+ quill sns make-upgrade-canister-proposal $PROPOSAL_NEURON_ID --canister-ids-file ./sns_canister_ids.json --pem-file $PROPOSAL_PEM_FILE --target-canister-id " 5szpn-tiaaa-aaaaj-qncoq-cai" --wasm-path " $CANISTERS_PATH /ic_oss_cluster.wasm.gz" --mode upgrade --title " Upgrade ic_oss_cluster canister to v0.9.10" --summary " chore: update dependencies" --url " https://github.com/ldclabs/ic-oss/releases/tag/v0.9.10" > proposal-message.json
9
+
10
+ # quill send proposal-message.json
Original file line number Diff line number Diff line change
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_deploy_bucket\" 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_deploy_bucket` function is used to upgrade bucket canister WASM from the ic_oss_cluster canister.";
11
+ action = opt variant {
12
+ AddGenericNervousSystemFunction = record {
13
+ id = 1_115 : nat64;
14
+ name = "`admin_deploy_bucket` function";
15
+ description = opt "It is used to upgrade bucket canister WASM 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 "validate2_admin_deploy_bucket";
21
+ target_method_name = opt "admin_deploy_bucket";
22
+ }
23
+ };
24
+ }
25
+ };
26
+ }
27
+ )' > proposal-message.json
28
+
29
+ # quill send proposal-message.json
Original file line number Diff line number Diff line change
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=principal "532er-faaaa-aaaaj-qncpa-cai"}, null)' ) "
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_deploy_bucket() to update ic-oss-bucket WASM to v0.9.0\" ;
11
+ url = \" https://github.com/ldclabs/ic-oss/releases/tag/v0.9.10\" ;
12
+ summary = \" This proposal executes admin_deploy_bucket() on ic_oss_cluster 5szpn-tiaaa-aaaaj-qncoq-cai to upgrade ic_oss_bucket 532er-faaaa-aaaaj-qncpa-cai.\" ;
13
+ action = opt variant {
14
+ ExecuteGenericNervousSystemFunction = record {
15
+ function_id = 1_115 : nat64;
16
+ payload = ${BLOB} ;
17
+ }
18
+ };
19
+ }
20
+ )" > proposal-message.json
21
+
22
+ # quill send proposal-message.json
Original file line number Diff line number Diff line change
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=principal "sb6zj-3aaaa-aaaaj-qndla-cai"}, null)' ) "
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_deploy_bucket() to update ic-oss-ic_oss_bucket_02 WASM to v0.9.0\" ;
11
+ url = \" https://github.com/ldclabs/ic-oss/releases/tag/v0.9.10\" ;
12
+ summary = \" This proposal executes admin_deploy_bucket() on ic_oss_cluster 5szpn-tiaaa-aaaaj-qncoq-cai to upgrade ic_oss_bucket_02 sb6zj-3aaaa-aaaaj-qndla-cai.\" ;
13
+ action = opt variant {
14
+ ExecuteGenericNervousSystemFunction = record {
15
+ function_id = 1_115 : nat64;
16
+ payload = ${BLOB} ;
17
+ }
18
+ };
19
+ }
20
+ )" > proposal-message.json
21
+
22
+ # quill send proposal-message.json
Original file line number Diff line number Diff line change 19
19
1_111 nvdn4-5qaaa-aaaaj-qa4pq-cai admin_remove_managers
20
20
1_112 zof5a-5yaaa-aaaai-acr2q-cai admin_remove_managers
21
21
1_113 4jxyd-pqaaa-aaaah-qdqtq-cai admin_remove_managers
22
- 1_114 5szpn-tiaaa-aaaaj-qncoq-cai admin_update_bucket_canister_settings
22
+ 1_114 5szpn-tiaaa-aaaaj-qncoq-cai admin_update_bucket_canister_settings
23
+ 1_115 5szpn-tiaaa-aaaaj-qncoq-cai admin_deploy_bucket
You can’t perform that action at this time.
0 commit comments