Proposal 129748 to upgrade the NNS dapp (17/05/2024)

Proposal 129748 to upgrade the NNS dapp just went live, please consider voting. :ballot_box:

Wasm sha256 hash: 43737e98f188dd9b161ea3c89b819a5518b3f0032a996edf17f851d85d348824 (https://github.com/dfinity/nns-dapp/actions/runs/9096269745)

Change Log

Added

  • Close modal on ESC key press.
  • Add ENABLE_ACTIONABLE_TAB feature flag.
  • Support ApiBoundaryNodes in FirewallRulesScope of AddFirewallRulesPayload.
  • Support SubnetRental topic.
  • Support NNS function 52 for SubnetRentalRequest.

Changed

  • Update IC, Candid, and ic-cdk dependencies.
  • Changed support for NNS function 43 from AddApiBoundaryNodePayload (singular) to AddApiBoundaryNodesPayload (plural).

Removed

  • Stop encoding the accounts map in the AccountsStore.
  • Removed ENABLE_HIDE_ZERO_BALANCE feature flag.
  • Proposal filtering by reward status.
  • Intermediate step to remove transactions from accounts stored in nns-dapp.

Fixed

  • Successful swap message should not be shown when participant count is insufficient.

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 "581eb325ce38d98f3e6e9c13ab2e490701ca91c3"
./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)"
5 Likes