SNS Updates 2024-10-24

The Governance Team (formerly known as the NNS team) is proud to present a couple of proposals to make new SNS canister WASMs available:

Bellow, is a copy of the summaries of of these proposals.

Swap

# Publish SNS Swap WASM Built at Commit 4bed17b

__Proposer__: daniel.wong at dfinity.org\
__Source Code__: [4bed17bfc82cddc5691743db6228992cdc2740f4][new-commit]

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


## New Commits

```
$ git log --format="%C(auto) %h %s" c494c2af8bfc70a6501448dc73bf806477388738..4bed17bfc82cddc5691743db6228992cdc2740f4 --  ./rs/sns/swap
 0a53517776 chore: upgrade core crates and use workspace version (#2111)
 deb8113f00 feat(sns): Data migration that retrofits Swap.{direct_participation_icp_e8s, neurons_fund_participation_icp_e8s} + golden upgrade tests  (#2067)
 e1e09713c9 chore(sns): Add swap logs when changing controllership (#2027)
```


## 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/4bed17bfc82cddc5691743db6228992cdc2740f4/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 4bed17bfc82cddc5691743db6228992cdc2740f4

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

Governance

# Publish SNS Governance WASM Built at Commit 4bed17b

__Proposer__: daniel.wong at dfinity.org\
__Source Code__: [4bed17bfc82cddc5691743db6228992cdc2740f4][new-commit]

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


## New Commits

```
$ git log --format="%C(auto) %h %s" c494c2af8bfc70a6501448dc73bf806477388738..4bed17bfc82cddc5691743db6228992cdc2740f4 --  ./rs/sns/governance
 0a53517776 chore: upgrade core crates and use workspace version (#2111)
 b42c208a17 feat(sns): Create test-only function that can be used to advance the target version directly (rather than through a proposal) (#1743)
```


## 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/4bed17bfc82cddc5691743db6228992cdc2740f4/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 4bed17bfc82cddc5691743db6228992cdc2740f4

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