Skip to content

Commit 2a8a36c

Browse files
committed
chore: add proposals to upgrade dMsg.net to v2.6
1 parent 6300a49 commit 2a8a36c

27 files changed

+452
-27
lines changed

proposals/proposal-156.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ export CANISTERS_PATH="$(pwd)/.dfx/ic/github"
77

88
quill sns make-upgrade-canister-proposal --canister-ids-file ./sns_canister_ids.json --pem-file $PROPOSAL_PEM_FILE --target-canister-id "ijyxz-wyaaa-aaaaj-qa4qa-cai" --wasm-path "$CANISTERS_PATH/ic_message_profile.wasm.gz" $PROPOSAL_NEURON_ID > proposal-message.json
99

10-
quill send proposal-message.json
10+
# quill send proposal-message.json

proposals/proposal-165.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ quill sns make-proposal --canister-ids-file ./sns_canister_ids.json --pem-file $
1414
}
1515
)' > proposal-message.json
1616

17-
quill send proposal-message.json
17+
# quill send proposal-message.json

proposals/proposal-166.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
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 --canister-ids-file ./sns_canister_ids.json --pem-file $PROPOSAL_PEM_FILE --target-canister-id "nscli-qiaaa-aaaaj-qa4pa-cai" --wasm-path "$CANISTERS_PATH/ic_message.wasm.gz" $PROPOSAL_NEURON_ID > proposal-message.json
9+
10+
# quill send proposal-message.json

proposals/proposal-167.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
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 --canister-ids-file ./sns_canister_ids.json --pem-file $PROPOSAL_PEM_FILE --target-canister-id "ijyxz-wyaaa-aaaaj-qa4qa-cai" --wasm-path "$CANISTERS_PATH/ic_message_profile.wasm.gz" $PROPOSAL_NEURON_ID > proposal-message.json
9+
10+
# quill send proposal-message.json

proposals/proposal-168.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
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 --canister-ids-file ./sns_canister_ids.json --pem-file $PROPOSAL_PEM_FILE --target-canister-id "nvdn4-5qaaa-aaaaj-qa4pq-cai" --wasm-path "$CANISTERS_PATH/ic_message_channel.wasm.gz" $PROPOSAL_NEURON_ID > proposal-message.json
9+
10+
# quill send proposal-message.json

proposals/proposal-169.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
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 --canister-ids-file ./sns_canister_ids.json --pem-file $PROPOSAL_PEM_FILE --target-canister-id "zof5a-5yaaa-aaaai-acr2q-cai" --wasm-path "$CANISTERS_PATH/ic_message_channel.wasm.gz" $PROPOSAL_NEURON_ID > proposal-message.json
9+
10+
# quill send proposal-message.json

proposals/proposal-170.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
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 --canister-ids-file ./sns_canister_ids.json --pem-file $PROPOSAL_PEM_FILE --target-canister-id "4jxyd-pqaaa-aaaah-qdqtq-cai" --wasm-path "$CANISTERS_PATH/ic_message_channel.wasm.gz" $PROPOSAL_NEURON_ID > proposal-message.json
9+
10+
# quill send proposal-message.json

proposals/proposal-171.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
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 --canister-ids-file ./sns_canister_ids.json --pem-file $PROPOSAL_PEM_FILE --target-canister-id "ijyxz-wyaaa-aaaaj-qa4qa-cai" --wasm-path "$CANISTERS_PATH/ic_message_profile.wasm.gz" $PROPOSAL_NEURON_ID > proposal-message.json
9+
10+
# quill send proposal-message.json

proposals/proposal-172.sh

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
#!/usr/bin/env bash
2+
3+
# Load the environment variables
4+
source "$(pwd)"/proposals/env.sh
5+
6+
# build and get batch_id, evidence:
7+
# dfx deploy ic_panda_frontend --ic --by-proposal
8+
9+
export BLOB="$(didc encode --format blob '(record {batch_id=59:nat; evidence=blob "\ac\ed\a0\1a\05\0d\64\ce\8a\f8\84\11\94\bd\b5\bd\df\1b\91\71\92\06\75\6e\2b\13\fc\ad\bb\95\0a\b2"})')"
10+
11+
quill sns make-proposal --canister-ids-file ./sns_canister_ids.json --pem-file $PROPOSAL_PEM_FILE $PROPOSAL_NEURON_ID --proposal "(
12+
record {
13+
title = \"Execute commit_proposed_batch() to release ic_panda_frontend v2.6.0\";
14+
url = \"https://panda.fans/\";
15+
summary = \"This proposal executes commit_proposed_batch() on c63a7-6yaaa-aaaap-ab3gq-cai to release ic_panda_frontend v2.6.0.\n\n1. chore: 1. upgrade for ICPanda Message v2.6.0.\";
16+
action = opt variant {
17+
ExecuteGenericNervousSystemFunction = record {
18+
function_id = 1000 : nat64;
19+
payload = ${BLOB};
20+
}
21+
};
22+
}
23+
)" > proposal-message.json
24+
25+
# quill send proposal-message.json

proposals/proposal-173.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_add_canister\" to ic_message_channel service";
9+
url = "https://internetcomputer.org/docs/current/developer-docs/daos/sns/managing/sns-asset-canister#sns-genericnervoussystemfunctions";
10+
summary = "The `admin_add_canister` function is used to add more IC-OSS canisters to the messaging cluster.";
11+
action = opt variant {
12+
AddGenericNervousSystemFunction = record {
13+
id = 1_106 : nat64;
14+
name = "`admin_add_canister` function";
15+
description = opt "It is used to add more IC-OSS canisters to ic_message_channel service.";
16+
function_type = opt variant {
17+
GenericNervousSystemFunction = record {
18+
validator_canister_id = opt principal "nvdn4-5qaaa-aaaaj-qa4pq-cai";
19+
target_canister_id = opt principal "nvdn4-5qaaa-aaaaj-qa4pq-cai";
20+
validator_method_name = opt "validate_admin_add_canister";
21+
target_method_name = opt "admin_add_canister";
22+
}
23+
};
24+
}
25+
};
26+
}
27+
)' > proposal-message.json
28+
29+
# quill send proposal-message.json

0 commit comments

Comments
 (0)