-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(pagination): correct initial page number for list_neurons paginat…
…ion (#843) # Motivation A bug was introduced in #833 in this [commit](45eb69d#diff-f4f0835b56118edf98f5b690eb524de8bd8738c8d742c69c3c2cd516d55e9857R174) as the initial page should be `0n`, and not `1n`, as shown [here](https://github.com/dfinity/ic/blob/a34724ef3feef15510ab055b4f5e4aa961ce9e86/rs/nns/governance/src/governance.rs#L2085). The bug was found through [this failing e2e pipeline](dfinity/nns-dapp#6419). # Changes - Changed the initially requested page from `1n` to `0n`. # Tests - Update expectations for the requested page. - Manually tested in [devenv](https://qsgjb-riaaa-aaaaa-aaaga-cai.yhabib-ingress.devenv.dfinity.network/neurons/?u=qsgjb-riaaa-aaaaa-aaaga-cai) - Tested against [e2e test](dfinity/nns-dapp#6428) from nns-dapp # Todos - [ ] Add entry to changelog (if necessary).
- Loading branch information
Showing
2 changed files
with
7 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters