Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: adapt to the new governance list neuron pagination api #1218

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

NikolaMilosa
Copy link
Contributor

@NikolaMilosa NikolaMilosa commented Jan 17, 2025

NOTE: This PR depends of two other PR's:

  1. chore(deps): manual upgrade of deps #1217: currently this PR is based off of that PR's branch and it will be changed once the fix is merged to main It is now based on main
  2. #3358 in IC repo: Which will change the way neurons are fetched.

Once the PR on IC repo is merged, this PR will be updated with correct versions because current versions in Cargo.toml are based on the latest version in said branch.

Since the change in governance candid isn't a breaking change it is safe to merge this even before the governance canister is upgraded to the version that contains the change.

For our use-cases for list_neurons its highly unlikely we will ever need to paginate and we could've stuck with the current implementation but for the purpose of canister library fullness and no weird bugs this is added.

Base automatically changed from nm-manual-upgrade-of-deps to main January 17, 2025 07:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants