SNS Updates October 11, 2024: Swap periodic tasks → ⏲️

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

Proposals to be Submitted

Swap

https://dashboard.internetcomputer.org/proposal/133383

# Publish SNS Swap WASM Built at Commit c494c2a

__Proposer__: arshavir.ter.gabrielyan at dfinity.org

__Source Code__: [c494c2af8bfc70a6501448dc73bf806477388738][new-commit]

[new-commit]: https://github.com/dfinity/ic/tree/c494c2af8bfc70a6501448dc73bf806477388738


## New Commits

```
$ git log --format="%C(auto) %h %s" 87343a880050ca72b1361138535211f5770dd52e..c494c2af8bfc70a6501448dc73bf806477388738 --  ./rs/sns/swap
 513238d3cb feat(sns): Add Swap.reset_timers (#1989)
 77bd8fcfad feat(sns): Port Swap's periodic tasks from heartbeats to timers (#1932)
 733be312a1 refactor(sns): Migrate swap canister from dfn_core to ic_cdk (#1914)
 9feda70825 refactor(sns): Use ic-nervous-system-agent in sns-audit (#1756)
 3bbabefb70 chore(Ledger-Suite): FI-1502 move icp and icrc ledger suites (#1682)
 e2cb3d6389 chore: upgrade prost and tonic crates (#1738)
 f7791372e9 chore: remove old hyper and bump prost and tonic versions (#1597)
 09e7929d55 refactor(nervous-system): Remove ic-sns-governance and ic-sns-init's test_feature configurations (#1606)
```


## Wasm Verification

See the general instructions on [how to verify] proposals like this. A "quick
start" guide is provided here.

[how to verify]: https://github.com/dfinity/ic/tree/c494c2af8bfc70a6501448dc73bf806477388738/rs/nervous_system/docs/proposal_verification.md

See ["Building the code"][prereqs] for prerequisites.

[prereqs]: https://github.com/dfinity/ic?tab=readme-ov-file#building-the-code

```
# 1. Get a copy of the code.
git clone git@github.com:dfinity/ic.git
cd ic
# Or, if you already have a copy of the ic repo,
git fetch
git checkout c494c2af8bfc70a6501448dc73bf806477388738

# 2. Build canisters.
./ci/container/build-ic.sh -c

# 3. Fingerprint the result.
sha256sum ./artifacts/canisters/sns-swap-canister.wasm.gz
```

This should match `wasm` field of this proposal.

SNS Governance

https://dashboard.internetcomputer.org/proposal/133384

# Publish SNS Governance WASM Built at Commit c494c2a

__Proposer__: arshavir.ter.gabrielyan at dfinity.org

__Source Code__: [c494c2af8bfc70a6501448dc73bf806477388738][new-commit]

[new-commit]: https://github.com/dfinity/ic/tree/c494c2af8bfc70a6501448dc73bf806477388738


## New Commits

```
$ git log --format="%C(auto) %h %s" db5901a6e90b718918978ae5167b9c98d5aa7ab6..c494c2af8bfc70a6501448dc73bf806477388738 --  ./rs/sns/governance
 158f799bb0 chore: Remove __get_candid_interface_tmp_hack from nns and sns canisters (#1975)
 5890eaa8f5 refactor(sns): migrate sns governance to use ic_cdk (#1941)
 733be312a1 refactor(sns): Migrate swap canister from dfn_core to ic_cdk (#1914)
 cb996c54db chore(sns): Remove accidentally-committed logs (#1911)
 04f661ea24 feat(sns): Add periodic task for caching the upgrade steps (#1788)
 3bbabefb70 chore(Ledger-Suite): FI-1502 move icp and icrc ledger suites (#1682)
 e2cb3d6389 chore: upgrade prost and tonic crates (#1738)
 7e78a87aa5 refactor(sns): Rename random_u64 to insecure_random_u64 and remove random_bytes in SNS gov (#1731)
```


## Wasm Verification

See the general instructions on [how to verify] proposals like this. A "quick
start" guide is provided here.

[how to verify]: https://github.com/dfinity/ic/tree/c494c2af8bfc70a6501448dc73bf806477388738/rs/nervous_system/docs/proposal_verification.md

See ["Building the code"][prereqs] for prerequisites.

[prereqs]: https://github.com/dfinity/ic?tab=readme-ov-file#building-the-code

```
# 1. Get a copy of the code.
git clone git@github.com:dfinity/ic.git
cd ic
# Or, if you already have a copy of the ic repo,
git fetch
git checkout c494c2af8bfc70a6501448dc73bf806477388738

# 2. Build canisters.
./ci/container/build-ic.sh -c

# 3. Fingerprint the result.
sha256sum ./artifacts/canisters/sns-governance-canister.wasm.gz
```

This should match `wasm` field of this proposal.