NNS Updates, August 23rd, 20204

The NNS Team will be submitting the following upgrade proposals this Friday, 2024-08-23. DFINITY plans to vote on these proposals the following Monday.

Proposals to be Submitted

Governance

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


# Upgrade the Governance Canister to 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

* Enable new canister management topics

* Flip flag to enabled SetVisibility proposals

* Changes to improve node provider rewards auditability

* Add additional fields to get_monthly_node_provider_rewards

* Add an endpoint to get historical node provider rewards

* Support `UpdateCanisterSettings` proposal type

* Redact private neuron info fields

* Change InstallCode proposal to always return wasm_module_hash and arg_hash

## New Commits

```

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

a0207146be feat(nns): Enable new canister management topics (#1116)

d436a526d2 feat(ic-admin): Print hashes rather than entire blobs when submitting InstallCode proposals (#1093)

b4dffd8039 feat(nns): Use `Some(vec![])` to represent empty args and disallow `None` (#1088)

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)

a4431a4cbe feat(nns): Call new IC OS upgrade-related Registry functions instead of deprecated ones (#885)

a162f93b46 feat(nns): Cleanup NNS Governance API (#911)

9fe66f6ecb feat(nns): Flip flag to enabled SetVisibility proposals. (#1068)

3df41bd571 feat(nns): add additional fields to get_monthly_node_provider_rewards (#1057)

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

366404d061 feat(nns): Add date filtering to list_node_provider_rewards (#979)

2251ac4110 chore(nns): Make the comments on the topics and proposals consistent with NNS Dapp and ICP Dashboard (#1003)

af6561dc39 feat(nns): Add endpoint to get historical node provider rewards (#941)

6621525c03 feat(nns): Flag for SetVisibility Proposals. (#887)

8e4ffb7317 refactor(nns): Cleanup NNS Governance API type definitions (#961)

b4ccc86f84 feat(nns): Change InstallCode proposal to always return wasm_module_hash and arg_hash (#937)

1e5a4012d2 chore: optimize NNS canister builds again (#952)

86afbd8092 refactor(nns): Remove rs/tests gov dependency, and partial ic-admin dependency (#869)

1402bf3530 feat(nns): Implement proposal execution for updating settings for root (#866)

c99b063e8c feat(nns): Obsolete legacy IC OS proposals (#878)

82143b7a43 feat(nns): Redact private neuron info fields. (#842)

4b3bbb5cb2 test(nns): Make `NnsGov.update_neuron` fail more verbosely for attempted neuron subaccount updates (#838)

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

```

## Current Version

- Current Git Hash: c7d517db67fde740f5e3338c86e95b4ec8beb00a

- Current Wasm Hash: e1dabec0709deafdf79a8889eff8c823a2e19000809379fdef1ff377249296b2

## 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/governance-canister.wasm.gz

```

This should match `wasm_module` field of this proposal.

Lifeline

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


# Upgrade the Lifeline Canister to 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

* Implement proposal execution for updating settings for root

## New Commits

```

$ git log --format="%C(auto) %h %s" 35e4f2c583b0657aa730740b5c8aca18a8718b8e..a0207146be211cdff83321c99e9e70baa62733c7 -- ./rs/nns/handlers/lifeline

1402bf3530 feat(nns): Implement proposal execution for updating settings for root (#866)

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

576bb8d173 chore: add buildifier sort comment to Bazel files

1bfe616ec0 feat: build Rust canisters with opt-level=3 by default

75f3d6f1de NNS1-2922: chore(lifeline): Remove unused lifeline type

```

## Current Version

- Current Git Hash: 35e4f2c583b0657aa730740b5c8aca18a8718b8e

- Current Wasm Hash: 614d7d418c4eaa9984b6c3f4afe2d1e45b2f110369edcc2dc767792181742348

## 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/lifeline_canister.wasm.gz

```

This should match `wasm_module` field of this proposal.

Root

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


# Upgrade the Root Canister to Commit a020714

__Proposer__: jason.zhu at dfinity.org\

__Source Code__: [a0207146be211cdff83321c99e9e70baa62733c7][new-commit]

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

## New Commits

```

$ git log --format="%C(auto) %h %s" c7d517db67fde740f5e3338c86e95b4ec8beb00a..a0207146be211cdff83321c99e9e70baa62733c7 -- ./rs/nns/handlers/root/impl

4e5d6322bb chore: add decoding quota to http_request in NNS canisters (#1060)

f4242cbcf8 chore: add decoding quota to http_request in NNS root canister (#1031)

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

```

## Current Version

- Current Git Hash: c7d517db67fde740f5e3338c86e95b4ec8beb00a

- Current Wasm Hash: ab4ee8460537c49e50e45fc0bf1aae656770b65e113b48a6a6f599ffbe4fe6e9

## 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/root-canister.wasm.gz

```

This should match `wasm_module` field of this proposal.

SNS-WASM

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


# Upgrade the Sns-wasm Canister to 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

* Store `wasm_metadata` in SNS-W's stable memory

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

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

## New Commits

```

$ git log --format="%C(auto) %h %s" 3b3ffedc6aa481fd9b92eefaf46beded9e51a344..a0207146be211cdff83321c99e9e70baa62733c7 -- ./rs/nns/sns-wasm ./rs/sns/init

92e0f4a554 feat(nns): Store `wasm_metadata` in SNS-W's stable memory (attempt #2) (#977)

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

4daee881be chore(sns): Move DEFAULT_SNS_FRAMEWORK_CANISTER_WASM_MEMORY_LIMIT constant to ic-nns-common (#1056)

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)

c7d517db67 chore(sns): Obsolete `SwapInit.neurons_fund_participants` (#794)

36b89697fd chore(sns): Remove obsolete field `SnsInitPayload.neurons_fund_participants` (#780)

b4be567dc0 chore: Bump rust version to 1.80 (#642)

```

## Current Version

- Current Git Hash: 3b3ffedc6aa481fd9b92eefaf46beded9e51a344

- Current Wasm Hash: f4d02df832c1ef951618d954c52ee06cd6046b170d1b360563116c2a40afe643

## 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-wasm-canister.wasm.gz

```

This should match `wasm_module` field of this proposal.

2 Likes