-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add proposals to add CycleOps blackhole as ic-oss-bucket canis…
…ters's controller
- Loading branch information
Showing
4 changed files
with
75 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
#!/usr/bin/env bash | ||
|
||
# Load the environment variables | ||
source "$(pwd)"/proposals/env.sh | ||
|
||
quill sns make-proposal --canister-ids-file ./sns_canister_ids.json --pem-file $PROPOSAL_PEM_FILE $PROPOSAL_NEURON_ID --proposal '( | ||
record { | ||
title = "Add a generic function \"admin_update_bucket_canister_settings\" to IC-OSS service"; | ||
url = "https://internetcomputer.org/docs/current/developer-docs/daos/sns/managing/sns-asset-canister#sns-genericnervoussystemfunctions"; | ||
summary = "The `admin_update_bucket_canister_settings` function is used to update bucket canister settings from the ic_oss_cluster canister."; | ||
action = opt variant { | ||
AddGenericNervousSystemFunction = record { | ||
id = 1_114 : nat64; | ||
name = "`admin_update_bucket_canister_settings` function"; | ||
description = opt "It is used to update bucket canister settings from the ic_oss_cluster canister."; | ||
function_type = opt variant { | ||
GenericNervousSystemFunction = record { | ||
validator_canister_id = opt principal "5szpn-tiaaa-aaaaj-qncoq-cai"; | ||
target_canister_id = opt principal "5szpn-tiaaa-aaaaj-qncoq-cai"; | ||
validator_method_name = opt "validate_admin_update_bucket_canister_settings"; | ||
target_method_name = opt "admin_update_bucket_canister_settings"; | ||
} | ||
}; | ||
} | ||
}; | ||
} | ||
)' > proposal-message.json | ||
|
||
# quill send proposal-message.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#!/usr/bin/env bash | ||
|
||
# Load the environment variables | ||
source "$(pwd)"/proposals/env.sh | ||
|
||
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";}}})')" | ||
|
||
quill sns make-proposal --canister-ids-file ./sns_canister_ids.json --pem-file $PROPOSAL_PEM_FILE $PROPOSAL_NEURON_ID --proposal "( | ||
record { | ||
title = \"Execute admin_update_bucket_canister_settings() to update ic-oss-bucket controllers\"; | ||
url = \"https://github.com/ldclabs/ic-oss/blob/main/src/ic_oss_cluster/src/api_admin.rs#L490\"; | ||
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.\"; | ||
action = opt variant { | ||
ExecuteGenericNervousSystemFunction = record { | ||
function_id = 1_114 : nat64; | ||
payload = ${BLOB}; | ||
} | ||
}; | ||
} | ||
)" > proposal-message.json | ||
|
||
# quill send proposal-message.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#!/usr/bin/env bash | ||
|
||
# Load the environment variables | ||
source "$(pwd)"/proposals/env.sh | ||
|
||
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";}}})')" | ||
|
||
quill sns make-proposal --canister-ids-file ./sns_canister_ids.json --pem-file $PROPOSAL_PEM_FILE $PROPOSAL_NEURON_ID --proposal "( | ||
record { | ||
title = \"Execute admin_update_bucket_canister_settings() to update ic-oss-bucket controllers\"; | ||
url = \"https://github.com/ldclabs/ic-oss/blob/main/src/ic_oss_cluster/src/api_admin.rs#L490\"; | ||
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.\"; | ||
action = opt variant { | ||
ExecuteGenericNervousSystemFunction = record { | ||
function_id = 1_114 : nat64; | ||
payload = ${BLOB}; | ||
} | ||
}; | ||
} | ||
)" > proposal-message.json | ||
|
||
# quill send proposal-message.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters