SNS Updates, August 23rd, 2024

,

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

Proposals to be Submitted

SNS Root: https://dashboard.internetcomputer.org/proposal/132150


# Publish SNS Root WASM Built at Commit a020714

__Proposer__: jason.zhu at dfinity.org\

__Source Code__: [a0207146be211cdff83321c99e9e70baa62733c7][new-commit]

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

## Features, Fixes, and Optimizations

* Automatically set SNS Governance, Ledger, Index, Archive canisters memory limits once

* Expose the wasm_memory_limit in sns_canisters_summary's settings

## New Commits

```

$ git log --format="%C(auto) %h %s" c9e692e3d74692fcde77cb308039a734872ae0f0..a0207146be211cdff83321c99e9e70baa62733c7 -- ./rs/sns/root

d71e09e83a chore: add decoding quota to http_request in SNS and ICRC1 canisters (#1101)

0aa15a5bec feat(nns): Automatically set SNS Governance, Ledger, Index, Archive canisters memory limits once (#1004)

974f22dc1e feat(sns): Expose the wasm_memory_limit in sns_canisters_summary's settings (#1054)

```

## Wasm Verification

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 a0207146be211cdff83321c99e9e70baa62733c7

# 2. Build canisters.

./gitlab-ci/container/build-ic.sh -c

# 3. Fingerprint the result.

sha256sum ./artifacts/canisters/sns-root-canister.wasm.gz

```

This should match `wasm_module` field of this proposal.

Swap: https://dashboard.internetcomputer.org/proposal/132151


# Publish SNS Swap WASM Built at Commit a020714

__Proposer__: jason.zhu at dfinity.org\

__Source Code__: [a0207146be211cdff83321c99e9e70baa62733c7][new-commit]

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

## Features, Fixes, and Optimizations

* Expose the wasm_memory_limit in sns_canisters_summary's settings

* Reject new participants if the maximum number of required SNS neurons has been reached

## New Commits

```

$ git log --format="%C(auto) %h %s" c7d517db67fde740f5e3338c86e95b4ec8beb00a..a0207146be211cdff83321c99e9e70baa62733c7 -- ./rs/sns/swap

d71e09e83a chore: add decoding quota to http_request in SNS and ICRC1 canisters (#1101)

974f22dc1e feat(sns): Expose the wasm_memory_limit in sns_canisters_summary's settings (#1054)

05b02520fc feat(sns): Reject new participants if the maximum number of required SNS neurons has been reached (#924)

ca24b5d66d chore: sort dependencies in Cargo.toml files (#828)

```

## Wasm Verification

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 a0207146be211cdff83321c99e9e70baa62733c7

# 2. Build canisters.

./gitlab-ci/container/build-ic.sh -c

# 3. Fingerprint the result.

sha256sum ./artifacts/canisters/sns-swap-canister.wasm.gz

```

This should match `wasm_module` field of this proposal.

1 Like

Note that upgrading SNS Root to the version in this proposal will automatically set the wasm_memory_limit setting to 4GiB for SNS Governance, SNS Ledger, SNS Index, and SNS Archive canisters. This is to prepare for a possible future change to the IC execution environment, which will use a default wasm_memory_limit of 3.5GiB if one is not set explicitly. The lower default would not be useful for these SNS canisters, so this effectively opts them out of that change. No action other than upgrading the usual way is required for SNS teams.

1 Like