Next Releases
The NNS Team will be submitting the following upgrade proposals this Friday, 2023-05-05. DFINITY plans to vote on these proposals the following Monday.
Additional Notes / Breaking Changes
This Cycles-Minting Canister upgrade will enable automatic exchange rate updates, allowing the Exchange Rate Proposals to be retired. This will have an impact on the frequency of voting reward settlements on the NNS, and may result in some days having no rewards minted. Those rewards will be rolled over and settled during the next reward period that has a proposal to settle, however.
Proposals to be Submitted
Cycles-minting
## Proposal to Upgrade the Cycles-minting Canister
### Proposer: DFINITY Foundation
### Git Hash: 2ef275ecee0b8e2e6eba06d13ff4585ba8957f2e
### New Wasm Hash: 3ff03b40f1c49b06e91a3c31879a21f6cead42be71d194d4d7e7becb8c60bd42
### Upgrade Args Hash: 5349c151a3353dd72f924409229c28f2ab1d9d70f8f8c7e81842ab5e18757803
### Target canister: rkp4c-7iaaa-aaaaa-aaaca-cai
---
## Features
- Enable updating cycles exchange rate from the Exchange Rate Canister
## Release Notes
```
$ git log --format="%C(auto) %h %s" 18dc31ca64a4ead42c5d4222e647dce7124eb90e..2ef275ecee0b8e2e6eba06d13ff4585ba8957f2e -- ./rs/nns/cmc
072af235b7 ER-4158: Update the CMC's init and post_upgrade arguments to be optional.
40ceaba45d Lower the bound needed for exchange rate ICP sources in the CMC.
5491eb1853 Export additional metrics to the cycles minting canister.
20d4e25ca3 CMC should retry calling XRC every minute until a rate is retrieve.
0e5c7f5737 RUN-607: Introduce CanisterSettingsArgsBuilder
7592477493 Test CMC can successfully call the exchange rate canister successfully
235b1561be feat: Turn off calling the exchange rate canister if an exchange rate proposal with a diverged rate reason is received
0bebbb0ab1 feat: Validate the exchange rate received from the exchange rate canister.
0c331e8474 CMC XRC call state refactor
30ecd231bc feat: Add ability for the CMC to call the XRC
dac5612f25 feat: ER-3992: Add ic-xrc-types to the CMC
f7576598f0 feat: ER-3970: Add exchange rate canister ID field to CMC state
a47e0212de add sender canister version to management canister call payloads
a530297507 chore: Bump rust to 1.66.1
45efc90d3f fix: mark SetController and controller field deprecated
c1470d66c7 Replace metrics encoder with opensourced version
abee5ed248 giga chore: bump rust to 1.65
3cb9be35fb chore(build): attach candid service definitions to all canisters
b41c584285 IDX-2439 Single Bazel rule builds both canisters and optimized canisters
0385d7af54 feat: update `ic-certified-map`
dfec0b38dd [bazel] update prost version to 0.11
6be560c9b9 FI-299: split ledger-canister package
da30da9872 Introducing a default ICP/XDR rate
10a4af23df Bump candid to 0.8.1 and agent-rs to 0.21.0
```
## Candid Post Upgrade Args
```candid
(record { governance_canister_id = principal "rrkah-fqaaa-aaaaa-aaaaq-cai"; ledger_canister_id = principal "ryjl3-tyaaa-aaaaa-aaaba-cai"; exchange_rate_canister = opt variant { Set = principal "uf6dk-hyaaa-aaaaq-qaaaq-cai" } })
```
### Validating Candid Args
Verify that the hash of the args matches proposal contents.
`didc encode '(record { governance_canister_id = principal "rrkah-fqaaa-aaaaa-aaaaq-cai"; ledger_canister_id = principal "ryjl3-tyaaa-aaaaa-aaaba-cai"; exchange_rate_canister = opt variant { Set = principal "uf6dk-hyaaa-aaaaq-qaaaq-cai" } })' | xxd -r -p | sha256sum`
## Wasm Verification
Verify that the hash of the gzipped WASM matches the proposed hash.
```
git fetch
git checkout 2ef275ecee0b8e2e6eba06d13ff4585ba8957f2e
./gitlab-ci/container/build-ic.sh -c
sha256sum ./artifacts/canisters/cycles-minting-canister.wasm.gz
```
## Current Version
- Current Git Hash: 18dc31ca64a4ead42c5d4222e647dce7124eb90e
- Current Wasm Hash: d03d80fe48d0cd79ac3dd313a0bab09dace8d788bdbac286f5331696f7ad0ab7
Governance
## Proposal to Upgrade the Governance Canister
### Proposer: DFINITY Foundation
### Git Hash: 5c0af72426c7eca863201c4853cb18dab504a140
### New Wasm Hash: 6f21ccb2fed442393938d3d35eaa1699fb755c3420782687ea7bdf7743875e7e
### Target canister: rrkah-fqaaa-aaaaa-aaaaq-cai
---
## Release Notes
```
$ git log --format="%C(auto) %h %s" 89129b8212791d7e05cab62ff08eece2888a86e0..5c0af72426c7eca863201c4853cb18dab504a140 -- ./rs/nns/governance
39c2dee156 NNS1-2170: No longer transmit deprecated fields of CanisterStatusResultV2
```
## Wasm Verification
Verify that the hash of the gzipped WASM matches the proposed hash.
```
git fetch
git checkout 5c0af72426c7eca863201c4853cb18dab504a140
./gitlab-ci/container/build-ic.sh -c
sha256sum ./artifacts/canisters/governance-canister.wasm.gz
```
## Current Version
- Current Git Hash: 89129b8212791d7e05cab62ff08eece2888a86e0
- Current Wasm Hash: af2fe641ba9270d60e2e7843b3d3426d362efda3ea3c670fbf835d5c14c4f1ff