Proposal 133898 to upgrade the NNS dapp (01/11/2024)

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

Today’s proposal introduces support for changing visibility on your neurons. If adopted, you will be able to make your neurons public, which shows more information about them.

In neuron details, you will see a new button that allows you to switch between the private and public visibility settings.

Once clicked, you’re presented with an option to change the visibility of all of your neurons.

If a checkmark appears next to your neuron ID, that means you have successfully made your neurons public.

Please see the change log for more details about other improvements and bug fixes.

Change Log

Added

  • Provide better error messages when the transaction timestamp is off.
  • A link to the imported tokens documentation page.
  • Refresh NNS neurons from neuron details page if needed, instead of from the nns-dapp canister.
  • Inform the user in the staking modal that the minimum dissolve delay for NNS neurons is 7 days.
  • Support public/private neuron visibility.

Changed

  • Change Internet Computer Association neuron title.
  • Stop hiding the bottom menu logo and collapse button on small screens.
  • Remove menu footer on collapsed menu.

Fixed

  • Race condition in proposal loading.
  • Consistently identify a proposal by its type in voting progress toasts.

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 "c17fd3b97eddb9f2933ae10f263483f9c1b9fa76"
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
4 Likes

Love this upgrade. CodeGov and Synapse really need the public / private functionality so our Followees can make their votes public again. Thank you!

4 Likes