File tree Expand file tree Collapse file tree 2 files changed +35
-0
lines changed
Expand file tree Collapse file tree 2 files changed +35
-0
lines changed 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+ # 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=62:nat; evidence=blob "\93\2b\fb\26\84\d4\fd\8f\40\cb\b2\e9\2a\de\e6\71\1b\55\26\ad\ab\61\bc\72\55\06\4a\25\6e\d4\f1\bb"})' ) "
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.4\" ;
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.4.\n\n1. feat: add airdrop 108.\" ;
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
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 --canister-ids-file ./sns_canister_ids.json --pem-file $PROPOSAL_PEM_FILE --target-canister-id " a7cug-2qaaa-aaaap-ab3la-cai" --wasm-path " $CANISTERS_PATH /ic_panda_luckypool.wasm.gz" $PROPOSAL_NEURON_ID > proposal-message.json
9+
10+ quill send proposal-message.json
You can’t perform that action at this time.
0 commit comments