SNS Update: Jan 16, 2024

,

The NNS Team will be submitting the following proposals to publish new versions of SNS canisters to SNS-WASM this Tuesday, 2024-01-16. DFINITY plans to vote on these proposals this Friday, 2024-01-19.

Proposals to be Submitted

Governance

## Proposal to Publish the SNS Governance Canister WASM to SNS-W
### Proposer: DFINITY Foundation
### Canister Type: governance
### Git Hash: 6ed74ab9788e4601bbbf02ae1ce92b7f480387df
### New Wasm Hash: f992c8874103ea8965ff0667817791d34e6600b4d9380b41ef45596f1784c2cf
---

## Release Notes
```
$ git log --format="%C(auto) %h %s" afa995955f90d48f4c1fe3251a2ab7297274044c..6ed74ab9788e4601bbbf02ae1ce92b7f480387df --  ./rs/sns/governance
 8cce385734 fix(sns): Revert buggy SNS rewards fix in MR 16148.
 cda83e52f5 NNS1-2732: chore(sns): Now that initializing mode of legacy SNS governance canisters to Normal has been released, it is no longer needed.
```
## Wasm Verification
Verify that the hash of the gzipped WASM matches the proposed hash.
```
git fetch
git checkout 6ed74ab9788e4601bbbf02ae1ce92b7f480387df
./gitlab-ci/container/build-ic.sh -c
sha256sum ./artifacts/canisters/sns-governance-canister.wasm.gz
```

Swap

## Proposal to Publish the SNS Swap Canister WASM to SNS-W
### Proposer: DFINITY Foundation
### Canister Type: swap
### Git Hash: 6ed74ab9788e4601bbbf02ae1ce92b7f480387df
### New Wasm Hash: f1414b67ca335d15a7d9fc021f6afa9002143af3c7ce10edf48d4ccd9b9d1703
---
## Features
- Record the swap termination timestamp and populate it into get_lifecycle response
- `Swap.get_init` should not return `cf_participants`

## Release Notes
```
$ git log --format="%C(auto) %h %s" d1315a1b9b002f177526faa5ee6d7e1e1aa3a22a..6ed74ab9788e4601bbbf02ae1ce92b7f480387df --  ./rs/sns/swap
 11834af77d feat(sns-swap): NNS1-2624 Record the swap termination timestamp and populate it into get_lifecycle response
 a8f0d7f61b build: upgrade candid to 0.10
 b835f6ebb2 chore: bump Rust version to 1.75
 ceeabfc2d2 chore(NNS1-2695): Rename some internal Neurons' Fund types
 ff70f242ad feat(NNS1-2585): `Swap.get_init` should not return `cf_participants`
```
## Wasm Verification
Verify that the hash of the gzipped WASM matches the proposed hash.
```
git fetch
git checkout 6ed74ab9788e4601bbbf02ae1ce92b7f480387df
./gitlab-ci/container/build-ic.sh -c
sha256sum ./artifacts/canisters/sns-swap-canister.wasm.gz
```

Custom Upgrade Path

## Proposal to Insert Custom Upgrade Path to SNS-W
### Proposer: DFINITY Foundation
### Target SNS Governance Canisters: All
---
This proposal will change the upgrade path to use different WASMs, but WASMs that are already available on SNS-W.

All SNS upgrade paths (without their own overrides) will be affected by this proposal.

## Rationale

Mitigating an issue caused by a previously published version of SNS Governance that prevented Dragginz to upgrade. This proposal provides a custom upgrade path for SNSes to skip the bad version (SNS Governance d6fb78613a9991d0387abfb6bf999d3e9ebec0f729f23d9fd2727cd5aeeaba45). See the forum post for more details: https://forum.dfinity.org/t/investigating-recently-failed-sns-upgrade-proposals/26429.

## Useful background

To see what the upgrade path currently is, run:
```
dfx canister --network ic call --candid ic/rs/nns/sns-wasm/canister/sns-wasm.did \    qaa6y-5yaaa-aaaaa-aaafa-cai list_upgrade_steps \    '(record {limit = 0: nat32; })'
```

## Upgrade Path Changes

{
  "archive_wasm_hash": "6513337917eec322bdfba5dd00ac44bec63e7064bba30e668dbaf14fb0488c49",
  "governance_wasm_hash": "524d1468bd938e7f57679e530aa58e1bd86899e45cd87cf05474f98dadd8285c",
  "index_wasm_hash": "4d0c07122fe75354d9ff1f5c28a165414f4d5b02c7054a09a77dea4734d1d7c4",
  "ledger_wasm_hash": "b8312889e602c1092832c27958df5cd9f3ad76c22fd4951317047bc0c3122bca",
  "root_wasm_hash": "0609c4337c2d8695078e4973172e04673ceb7706c20247b011d4e260e56d6a2c",
  "swap_wasm_hash": "1ffb5738c9c9acde14c5fd83395579665cb41829f7819acf87feb66d3c2caf4e"
}

{
  "archive_wasm_hash": "6513337917eec322bdfba5dd00ac44bec63e7064bba30e668dbaf14fb0488c49",
  "governance_wasm_hash": "524d1468bd938e7f57679e530aa58e1bd86899e45cd87cf05474f98dadd8285c",
  "index_wasm_hash": "4d0c07122fe75354d9ff1f5c28a165414f4d5b02c7054a09a77dea4734d1d7c4",
  "ledger_wasm_hash": "b8312889e602c1092832c27958df5cd9f3ad76c22fd4951317047bc0c3122bca",
  "root_wasm_hash": "3a5e53c8d068323ff97eabae7c0a605da61eeddf2253eb0313d4579d15ce7d56",
  "swap_wasm_hash": "1ffb5738c9c9acde14c5fd83395579665cb41829f7819acf87feb66d3c2caf4e"
}

{
  "archive_wasm_hash": "6513337917eec322bdfba5dd00ac44bec63e7064bba30e668dbaf14fb0488c49",
  "governance_wasm_hash": "f992c8874103ea8965ff0667817791d34e6600b4d9380b41ef45596f1784c2cf",
  "index_wasm_hash": "4d0c07122fe75354d9ff1f5c28a165414f4d5b02c7054a09a77dea4734d1d7c4",
  "ledger_wasm_hash": "b8312889e602c1092832c27958df5cd9f3ad76c22fd4951317047bc0c3122bca",
  "root_wasm_hash": "3a5e53c8d068323ff97eabae7c0a605da61eeddf2253eb0313d4579d15ce7d56",
  "swap_wasm_hash": "1ffb5738c9c9acde14c5fd83395579665cb41829f7819acf87feb66d3c2caf4e"
}