You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run a rest server and compare curl -G "http://<serverUrl>/gov/proposals?page=1&limit=3" with curl -G "http://<serverUrl>/gov/proposals?page=2&limit=3" -- the results will be the same.
For Admin Use
Not duplicate issue
Appropriate labels applied
Appropriate contributors tagged
Contributor assigned/self-assigned
The text was updated successfully, but these errors were encountered:
Summary of Bug
The
/gov/proposals
query is still using an older form of parsing limit and page arguments, as seen in this function: https://github.com/cosmos/cosmos-sdk/blob/v0.37.3/x/gov/client/rest/rest.go#L558. As a result, pagination does not work as expected.Version
1a7f31f / current
Steps to Reproduce
Run a rest server and compare
curl -G "http://<serverUrl>/gov/proposals?page=1&limit=3"
withcurl -G "http://<serverUrl>/gov/proposals?page=2&limit=3"
-- the results will be the same.For Admin Use
The text was updated successfully, but these errors were encountered: