SNS Updates 2025-02-14

The NNS Team submitted the following proposals to publish new versions of SNS canisters to SNS-WASM. DFINITY plans to vote on these proposals the following Monday.

Additional Notes / Breaking Changes

See the recent SNS Topics Plan post.

Proposal to be Submitted

Governance

# Publish SNS Governance WASM Built at Commit 00b04a8

__Proposer__: andre at popovit.ch

__Source code__: [00b04a892dfb2fee1459f1de9d4a731aa04f1ca3][new-commit]

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

## Features & Fixes

###  Added

The concept of topics has now been introduced to the SNS. This means that when custom function is added via an `AddGenericNervousSystemFunction` proposal, a topic can be specified for that custom function. This can be used for organizing the following page, and could be used for more in the future.

A `list_topics` API has been added, which returns a list of topics and all the functions categorized in those topics. 

###  Changed

The new `topic` field is required when submitting an `AddGenericNervousSystemFunction` proposal.


## New Commits

```
$ git log --format="%C(auto) %h %s" 2d4bcba47ea10520ff21ce54a8acb9cdb0629317..00b04a892dfb2fee1459f1de9d4a731aa04f1ca3 --  ./rs/sns/governance
 00b04a892df feat(sns): Prevent submitting add_generic_nervous_system_function proposals without a topic (#3963)
 3e66c47485f feat: list topics (#3394)
 2e7eda681b7 chore(sns): Correct the changelog for SNS Governance (#3872)
 4c20acbce95 chore(nervous-system): Update changelog for release 2025-02-07 (#3867)
```


## 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/00b04a892dfb2fee1459f1de9d4a731aa04f1ca3/rs/nervous_system/docs/proposal_verification.md

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

[prereqs]: https://github.com/dfinity/ic/tree/00b04a892dfb2fee1459f1de9d4a731aa04f1ca3/README.adoc#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 00b04a892dfb2fee1459f1de9d4a731aa04f1ca3

# 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.

Swap

# Publish SNS Swap WASM Built at Commit 00b04a8

__Proposer__: andre at popovit.ch

__Source code__: [00b04a892dfb2fee1459f1de9d4a731aa04f1ca3][new-commit]

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

## Features & Fixes

###  Added

* Added the `query_stats` field for the `get_canister_status` method.


## New Commits

```
$ git log --format="%C(auto) %h %s" a5878586e47536d4cd47f0aadb66b73df8131d2b..00b04a892dfb2fee1459f1de9d4a731aa04f1ca3 --  ./rs/sns/swap
 01fcadfa693 feat(nns/sns): Add query stats to canister status (#3710)
 ae3ab5aa3c4 refactor(nervous-system): Move Request implementations from canister crates to rs/nervous_system/agent (#3657)
 f569791cc7e docs(governance): Added 2025-01-20 CHANGELOG.md entries. (#3535)
 fc2787097c7 chore: bump rust to 1.84 (#3469)
```


## 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/00b04a892dfb2fee1459f1de9d4a731aa04f1ca3/rs/nervous_system/docs/proposal_verification.md

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

[prereqs]: https://github.com/dfinity/ic/tree/00b04a892dfb2fee1459f1de9d4a731aa04f1ca3/README.adoc#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 00b04a892dfb2fee1459f1de9d4a731aa04f1ca3

# 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.
2 Likes