Proposal 132374 to upgrade the NNS dapp (06/09/2024)

Happy Friday ICPeople! Proposal 132374 to upgrade the NNS dapp just went live, please consider voting. :ballot_box:

This proposal introduces a fix for the bug that allows some users to attempt staking less than the minimum SNS staking threshold. Learn more about the issue and how you can get back your neuron here.

Wasm sha256 hash: 3901df232f993eb523f561a0d4a7d74c515ccd043eda02a0ed2306b7e495b226 (https://github.com/dfinity/nns-dapp/actions/runs/10734492476)

Change Log

Changed

  • Staking project rows are not clickable when not signed in.
  • Changes for cleaning up the stable structure migration.
  • Upgrade agent-js to version 2.

Removed

  • Rendering for InstallCode, BlessReplicaVersion and RetireReplicaVersion proposals.
  • Message informing users of the System Canister Management topic split.

Fixed

  • Enforce minimum stake when staking SNS tokens from the staking table.

Wasm Verification

To build the wasm module yourself and verify its hash, run the following commands from the root of the nns-dapp repo:

git fetch  # to ensure you have the latest changes.
git checkout "cf39cc3cb16b9e2959ae89ad75e8b21c7856b005"
git merge-base --is-ancestor HEAD origin/main && echo "OK" || echo "Commit is not on main branch!"
./scripts/docker-build
sha256sum nns-dapp.wasm.gz

You may also want to verify the canister arguments. In the proposal they are binary, which is not very readable. Docker provides both binary and text formats and you can verify that the text format corresponds to the binary arg_hex field in the proposal.

cat nns-dapp-arg-mainnet.did
didc encode "$(cat nns-dapp-arg-mainnet.did)" | xxd -r -p | sha256sum
1 Like