Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use hardcoded nns-icp-index canister ID (#5520)
# Motivation Snsdemo install an ICP index canister but `dfx nns install` now also installs one (it didn't before) so each snapshot has 2 ICP index canisters. Before we can stop installing the second one in snsdemo, we need to make sure we are using the default one in nns-dapp. The one installed by `dfx nns install` has a [hardcoded](https://github.com/dfinity/dfx-extensions/blob/5471d0353f8395c33daf7a6ba9a0778f8b6fc7a8/extensions-utils/src/dependencies/download_wasms/nns.rs#L149) canister ID of `q3fc5-haaaa-aaaaa-aaahq-cai`. # Changes Set the canister ID of `nns-index` in `dfx.json` so that the one installed by `dfx nns install` will be used. # Tests 1. I ran `DFX_NETWORK=local ./config.sh` and verified that the new canister ID is used. 2. I ran `npm run dev` and checked that transactions load correctly locally. 3. Updated golden file for workflow test for `scripts/canister_ids`. # Todos - [ ] Add entry to changelog (if necessary). not necessary
- Loading branch information