-
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.
- Loading branch information
Showing
4 changed files
with
45 additions
and
2 deletions.
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,25 @@ | ||
#!/usr/bin/env bash | ||
|
||
# Load the environment variables | ||
source "$(pwd)"/proposals/env.sh | ||
|
||
# build and get batch_id, evidence: | ||
# dfx deploy ic_panda_frontend --ic --by-proposal | ||
|
||
export BLOB="$(didc encode --format blob '(record {batch_id=44:nat; evidence=blob "\b5\81\62\88\ca\97\70\e1\31\a9\b1\16\5c\93\42\6f\3b\30\19\4b\4b\87\7e\24\a9\bb\aa\d4\fc\f8\dc\11"})')" | ||
|
||
quill sns make-proposal --canister-ids-file ./sns_canister_ids.json --pem-file $PROPOSAL_PEM_FILE $PROPOSAL_NEURON_ID --proposal "( | ||
record { | ||
title = \"Execute commit_proposed_batch() to release ic_panda_frontend v2\"; | ||
url = \"https://panda.fans/\"; | ||
summary = \"This proposal executes commit_proposed_batch() on c63a7-6yaaa-aaaap-ab3gq-cai to release ic_panda_frontend v2.0.0.\n\n1. feat: E2EE Messages!\"; | ||
action = opt variant { | ||
ExecuteGenericNervousSystemFunction = record { | ||
function_id = 1000 : 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,19 @@ | ||
#!/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 = "Register E2EE Message canisters"; | ||
url = "https://dashboard.internetcomputer.org/sns/d7wvo-iiaaa-aaaaq-aacsq-cai/proposal/90"; | ||
summary = "E2EE Message canisters: ic_cose_canister, ic_message, ic_message_channel, ic_message_profile.\n\nRefer: https://github.com/ldclabs/ic-panda/blob/main/canister_ids.json"; | ||
action = opt variant { | ||
RegisterDappCanisters = record { | ||
canister_ids = vec {principal "n3bau-gaaaa-aaaaj-qa4oq-cai"; principal "nscli-qiaaa-aaaaj-qa4pa-cai"; principal "nvdn4-5qaaa-aaaaj-qa4pq-cai"; principal "ijyxz-wyaaa-aaaaj-qa4qa-cai"}; | ||
} | ||
}; | ||
} | ||
)' > 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
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