SNS Updates: July 25th

,

The NNS Team will be submitting the following proposals to publish new versions of SNS canisters to SNS-WASM this Friday, 2023-07-28. DFINITY plans to vote on these proposals the following Monday.

This Release

The SNS Swap canister now supports auto-finalization when success or failure conditions have been met.

Proposals to be Submitted

Root

## Proposal to Publish the SNS Root Canister WASM to SNS-W
### Proposer: DFINITY Foundation
### Canister Type: root
### Git Hash: af4f0fc316a5b607365253fb67026a34412c208e
### New Wasm Hash: d77fe7b1149f95c167e895f448071112475eb2c04fca6f2272a5073465678c8f
---
## Features
- Remove controller field decoding from swap canister response
- Move SNS Root to use the ic-cdk
## Release Notes
```
$ git log --format="%C(auto) %h %s" a1f503d20b7846375c74ce5f7d0f8f6620ab7511..af4f0fc316a5b607365253fb67026a34412c208e --  ./rs/sns/root
 1ff338e53c chore(VER-2413): Update `check_generated_files` command
 3de7d413ea chore(build): unify versions of candid in Cargo files
 3cfba01907 NNS1-2230 SNS Root stop depending on dfn_core directly
 91cef7a53a Merge branch 'dimitris/bazel-integration-tests' into 'master'
 54bee5171a chore: Remove tests suffix from names of rust_test_suite rules
 4903126802 feat: NNS1-2302: Add cycles to response of canister_status method in NNS and SNS root.
 f681501969 NNS1-2230 Switch SNS root to ic_cdk for canister interface and inter-canister calls
 542f6cc445 Rename run_periodic_tasks → heartbeat
 0713238460 NNS1-2230 Switch LedgerClient to using Runtime::call_with_cleanup
 9f25d61bc6 NNS1-2230 Add futures::spawn into Runtime and change SNS Root to call Runtime::spawn_future
 2bb5fde403 NNS1-2230 Change all SNS Root inter-canister calls to DfnRuntime
 ed6901ce16 NNS1-2230 Switch all inter canister calls in rs/nervous_system except for ledger
 607b64f443 NNS1-2230 Add Runtime and DfnRuntime, and change update_settings to use Runtime instead
 d08a1e2320 Refactor: move stable_mem_utils to dfn_core_stable_mem_utils
 6cbcc1ac48 feat: NNS1-2161: Add metric to NNS root to detect when a proxied canister call has been open for a suspiciously long amount of time.
 49674e70e2 Merge branch '@anchpop/NNS1-2275' into 'master'
 a8c2f9783d [test] NNS1-2185: Add system test for 1-proposal flow (milestone 1)
 c72b394d6f Merge branch 'NNS1-2263-p2' into 'master'
 ebda644e44 [Breaking] [NNS1-2263][override-didc-check] Remove deprecated fields in SNS Swap's canister_status API
 5158aa19f3 feat(NNS1-2265): Support compile-time test-feature toggling in SNS-Swap
 d19ce61f2a NNS1-1906: [override-didc-check] Remove the `controller` field from NNS/SNS root's canister_status
 0be43f1930 add sender_canister_version to management canister payloads in NNS/SNS code
```
## Wasm Verification
Verify that the hash of the gzipped WASM matches the proposed hash.
```
git fetch
git checkout af4f0fc316a5b607365253fb67026a34412c208e
./gitlab-ci/container/build-ic.sh -c
sha256sum ./artifacts/canisters/sns-root-canister.wasm.gz
```

Swap

## Proposal to Publish the SNS Swap Canister WASM to SNS-W
### Proposer: DFINITY Foundation
### Canister Type: swap
### Git Hash: af4f0fc316a5b607365253fb67026a34412c208e
### New Wasm Hash: 4d020100fd96d39d1429dee74a8032e0acbc1a6343e540a2ceb6f6da79f9f2dc
---
## Features
- Support 1-proposal feature behind a feature flag
- Enable Auto-finalization
## Release Notes
```
$ git log --format="%C(auto) %h %s" a1f503d20b7846375c74ce5f7d0f8f6620ab7511..af4f0fc316a5b607365253fb67026a34412c208e --  ./rs/sns/swap
 0f75518386 fix: NNS1-2363: More evenly apportion SNS tokens among SNS neurons created by SNS token Swap.
 1090081ace fix: NNS1-2366: Incorrect error type when Swap::new_sale_ticket is called in Adopted phase: was SaleClosed; now SaleNotOpen.
 1ff338e53c chore(VER-2413): Update `check_generated_files` command
 2b872c680b feat(NNS1-1813): Validate `CreateServiceNervousSystem` against NeuronBasket dissolve delay constraints from `SnsInitPayload`
 10fa316ee8 Revert "feat(NNS1-1813): Validate `CreateServiceNervousSystem` against...
 4fff93abe6 feat(NNS1-1813): Validate `CreateServiceNervousSystem` against NeuronBasket dissolve delay constraints from `SnsInitPayload`
 8d2f376768 Implement various clippy warnings throughout our code.
 3de7d413ea chore(build): unify versions of candid in Cargo files
 fb9c14a738 feat(NNS1-2354): Add validation for the newly-added fields of SNS Swap
 2379fb98db [NNS1-2296] Add new Swap canister parameters to the SnsInitPayload
 af7771312e feat NNS1-1961: Auto finalize swap
 5de12b480e feat(NNS1-1932): Swap accepts new parameters from SNS-W
 542f6cc445 Rename run_periodic_tasks → heartbeat
 607b64f443 NNS1-2230 Add Runtime and DfnRuntime, and change update_settings to use Runtime instead
 8f16529914 refactor: move finalize_swap's clients into CanisterClients type
 8d03fa5ae8 Merge branch 'NNS1-2318' into 'master'
 d08a1e2320 Refactor: move stable_mem_utils to dfn_core_stable_mem_utils
 a2176d8bed refactor: rename sale to swap in more places
 55b5c979df Move heartbeat and add change unwrap()s to expect()s
 6cbcc1ac48 feat: NNS1-2161: Add metric to NNS root to detect when a proxied canister call has been open for a suspiciously long amount of time.
 c72b394d6f Merge branch 'NNS1-2263-p2' into 'master'
 ebda644e44 [Breaking] [NNS1-2263][override-didc-check] Remove deprecated fields in SNS Swap's canister_status API
 5158aa19f3 feat(NNS1-2265): Support compile-time test-feature toggling in SNS-Swap
 635415cee1 feat NNS1-1930: Add start_time and duration fields to CreateServiceNervousSystem
```
## Wasm Verification
Verify that the hash of the gzipped WASM matches the proposed hash.
```
git fetch
git checkout af4f0fc316a5b607365253fb67026a34412c208e
./gitlab-ci/container/build-ic.sh -c
sha256sum ./artifacts/canisters/sns-swap-canister.wasm.gz
```