Proposal 135845 to upgrade the NNS dapp (14/03/2025)

Hello, ICPeople! Proposal 135845 to upgrade the NNS dapp just went live, please consider voting. :ballot_box:

This week’s update introduces a new card on the portfolio that shows current SNS launches, making it easier for users to participate in SNS decentralization swaps right from the home page.

Other change comes in the form of an improvement to the Neuron Staking page. If adopted, you will be able to hide projects you don’t have neurons in, cleaning up the page.

Upgrade frontend NNS Dapp canister to commit 0a3f0780a642b8a583d356cbdebf764b6ecc0b1f

Wasm sha256 hash: 752b96ffc7a819b0ac2756f928317afe190aa89f557e2d5a95971f58857b8407 (https://github.com/dfinity/nns-dapp/actions/runs/13835588737)

Change Log

Added

  • Added the option to hide projects in the neurons table that have no neurons.
  • Added ongoing SNS launch previews to Portfolio page.

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 "0a3f0780a642b8a583d356cbdebf764b6ecc0b1f"
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_hash field in the proposal.

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

Proposal #135845 for Frontend NNS Dapp — Zack | CodeGov

Vote: Adopted

Reason: The build is reproducible and the wasm hash as well the arguments hash is a match.
The canister id is correct and the install mode is upgrade.

All commits match their description. I like that 0a3f078 updates to “The Neurons’ Fund (NF) is an NNS controlled treasury, designed to support the development of the SNS ecosystem. Decisions on the allocation of NF resources are collectively made by the NNS.” just wondering if adding that anyone can opt in and then out as they wish (or something in the lines of this) would be helpful ?
The b10c3e4 addition of HideZeroNeuronsToggle in order to hide zero neurons projects in the table is a welcomed change.
And the honorable mention goes to the attention to details with cb8a166 .:wink:
I just wish that more ppl would look at and appreciate the work that goes into these upgrades.

3 Likes

Potentially. I just tried to keep it short to avoid confusing users who are new to ICP and the NNS. Neurons’ Fund itself is a rather advanced topic to get one’s head around, especially if they are new. Most people don’t need to care about details this nuanced.

2 Likes