-
Notifications
You must be signed in to change notification settings - Fork 337
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
feat(rosetta): Support pagination for Rosetta API list_neurons #3609
Conversation
Thanks for working on this. Ar there tests showing the new behavior works as expected and also that it's not breaking for people that are not specifying a page number? |
@fsodre No, I did not add tests. It definitely wouldn't be breaking for users not specifying page number since that's what the tests are already doing. Is there an efficient way to create more than 500 neurons in Rosetta tests? If not, we would need to additionally add the page_size parameter to the Rosetta API, but I was hoping to keep the changes in rosetta as minimal as possible, since many other parameters are already not provided. |
Hi. I believe it shouldn't be hard to add another scenario to this test case, in which neurons can be easily created. |
@fsodre There is a neuron creation limit in the Governance API. I tried advancing time, and got the following errors in the tests (this is just a sample, there were about 10 of the first, and hundreds of the second (as I was trying to create 501 neurons).
Any ideas? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for trying to add the tests, it seems like we have infra limitations there for now. Let's ship this change without it and work on it as a follow up.
2151022
to
c1130d3
Compare
No description provided.