Skip to content

Commit 490b104

Browse files
committed
chore(nns): add support in release scripts for node-rewards canister
1 parent ad86e75 commit 490b104

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

testnet/tools/nns-tools/lib/constants.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ export NNS_CANISTERS=(
88
registry
99
root
1010
sns-wasm
11+
node-rewards
1112
)
1213

1314
export SNS_CANISTERS=(
@@ -29,3 +30,4 @@ export GTC=renrk-eyaaa-aaaaa-aaada-cai
2930
export NNS_DAPP=qoctq-giaaa-aaaaa-aaaea-cai
3031
export ICP_ARCHIVE=qjdve-lqaaa-aaaaa-aaaeq-cai
3132
export SNS_W=qaa6y-5yaaa-aaaaa-aaafa-cai
33+
export NODE_REWARDS=todo-canister-id-after-creation

testnet/tools/nns-tools/lib/functions.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,10 @@ canister_bazel_label() {
6666
"cycles-minting")
6767
echo "//rs/nns/cmc:cycles-minting-canister"
6868
;;
69-
# TODO identity, ledger, lifeline, nns-ui, registry
69+
"node-rewards")
70+
echo "//rs/node_rewards/canister:node-rewards-canister"
71+
;;
72+
# TODO identity, ledger, lifeline, nns-ui
7073
*)
7174
echo "Sorry. I do not know how to build ${CANISTER_NAME}."
7275
exit 1
@@ -152,6 +155,7 @@ get_nns_canister_code_location() {
152155
code_location__identity="$RUST_DIR/nns/identity"
153156
code_location__nns_ui="$RUST_DIR/nns/nns-ui"
154157
code_location__sns_wasm="$RUST_DIR/nns/sns-wasm $SNS_INIT"
158+
code_location__node_rewards="RUST_DIR/node_rewards $RUST_DIR/registry/node_provider_rewards"
155159

156160
UNDERSCORED_CANISTER_NAME=$(echo "$CANISTER_NAME" | tr "-" "_")
157161
n=code_location__${UNDERSCORED_CANISTER_NAME}

0 commit comments

Comments
 (0)