Hello, ICPeople! Proposal 136003 to upgrade the NNS dapp just went live, please consider voting.
This week’s proposal brings small, but welcome improvements to error handling in modal windows in the staking flows.
Canister ID: qoctq-giaaa-aaaaa-aaaea-cai
Commit: 90c1a94b35e238b5422dd50f281bdda4eaba24cb
Wasm hash: a1ed7bb7d429208257950b14961de3714156915d2a21f9e23b176a1b969614b0
Change Log
Changed
- Replaces the toaster error with an input error message for the split neuron modal flow.
- Added client-side validation for staking ICP.
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 "90c1a94b35e238b5422dd50f281bdda4eaba24cb"
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