Happy Friday, ICPeople! Proposal 134254 to upgrade the NNS dapp just went live, please consider voting.
This week’s proposal is similar to last week’s with a few additional improvements and fixes. Last week’s proposal was adopted but failed quietly, so we are proposing those changes in this proposal as well. See more here.
Upgrade NNS Canister: qoctq-giaaa-aaaaa-aaaea-cai to wasm with hash: d54718853fb1abaf34ca774fd980164579bd4e6d3bcb0a141e799b8c699b97aa
Change Log
Changed
- Claim unclaimed neurons from the frontend instead of the backend.
- Update proposal status colors.
Removed
- Stop storing neuron accounts in the nns-dapp canister.
Fixed
- Stop trying to get swap commitments from aborted SNSes.
- Stop making unnecessary calls to SNS-W and SNS root canisters.
- User gets the wrong identity when connecting different hardware wallets devices in a certain order.
- Fix candid decoding error of stable memory.
- Show successfully loaded swap commitments even if some fail to load.
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 "7f408e7a4866183c4408ab599fce8b342a7843fe"
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