Proposal 132133 to upgrade the NNS dapp (23/08/2024)

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

Change Log

Added

  • Stake tokens, the first time, directly from the Nervous Systems table.

Changed

  • Bump ic-js so that NNS Dapp can parse InstallCode proposal correctly.
  • Display of the new/renamed topics and proposals.

Fixed

  • Empty space in the Tokens and Neurons tables in Safari.
  • Staking for SNS with zero transaction fee.

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 "56bfdb7edd88e5be384e216fdc1c3a0f8853d448"
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)"
2 Likes