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

feat!: remove legacy REST #9594

Merged
merged 36 commits into from
Jul 6, 2021
Merged
Changes from 1 commit
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
57d94c6
remove rest client from x/*
aleem1314 Jun 28, 2021
a285c72
removed RegisterRESTRoutes from x/*
aleem1314 Jun 29, 2021
59ca884
remove legacy rest wiring
aleem1314 Jun 29, 2021
81a9bbe
make mocks
aleem1314 Jun 29, 2021
307c503
refactor grpc tests
aleem1314 Jun 30, 2021
1997439
remove client/rpc REST
aleem1314 Jun 30, 2021
4fa7c43
Merge branch 'master' into aleem/7517-remove-legacy-rest
aleem1314 Jun 30, 2021
3eb5be7
move types/rest to testutil/rest
aleem1314 Jun 30, 2021
400b188
fix lint errors
aleem1314 Jun 30, 2021
405671c
fix lint errors
aleem1314 Jun 30, 2021
b778852
review changes
aleem1314 Jul 1, 2021
d28daf8
Add DefaultPage doc
aleem1314 Jul 1, 2021
4e5d4be
remove legacy swagger
aleem1314 Jul 1, 2021
2b40c22
WIP review changes
aleem1314 Jul 1, 2021
d2f1a13
fix lint errors
aleem1314 Jul 1, 2021
5e98b22
WIP integration tests refactor
aleem1314 Jul 2, 2021
4b605a2
WIP staking tests refactor
aleem1314 Jul 2, 2021
1318e84
fix tests
aleem1314 Jul 2, 2021
e366149
refactor gov module integration tests
aleem1314 Jul 2, 2021
51c595d
refactor x/bank integration tests
aleem1314 Jul 2, 2021
23e83c4
refactor staking integration tests
aleem1314 Jul 2, 2021
c075bc9
Update CHANGELOG.md
aleem1314 Jul 2, 2021
4292e7a
Merge branch 'master' into aleem/7517-remove-legacy-rest
aleem1314 Jul 2, 2021
e3c3dc3
update staking integration tests
aleem1314 Jul 3, 2021
d68dd92
fix tests
aleem1314 Jul 3, 2021
a0fd07a
Merge branch 'master' into aleem/7517-remove-legacy-rest
aleem1314 Jul 3, 2021
2431964
fix tests
aleem1314 Jul 3, 2021
c4a7a30
Update CHANGELOG.md
aleem1314 Jul 5, 2021
d2f2c03
Merge branch 'master' into aleem/7517-remove-legacy-rest
aleem1314 Jul 5, 2021
665fde3
make update-swagger-docs
aleem1314 Jul 5, 2021
fa2165f
fix imports
aleem1314 Jul 5, 2021
c3fd850
add Deprecated message
aleem1314 Jul 6, 2021
061a8c8
Merge branch 'master' into aleem/7517-remove-legacy-rest
aleem1314 Jul 6, 2021
215bf26
Add build norace flag
aleem1314 Jul 6, 2021
03e2f3d
Merge branch 'master' into aleem/7517-remove-legacy-rest
aleem1314 Jul 6, 2021
60950ca
Merge branch 'aleem/7517-remove-legacy-rest' of https://github.com/co…
aleem1314 Jul 6, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add DefaultPage doc
  • Loading branch information
aleem1314 committed Jul 1, 2021
commit d28daf81975e07ec4ae33b3694a26a540bda6b67
2 changes: 2 additions & 0 deletions types/query/pagination.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ import (
"github.com/cosmos/cosmos-sdk/store/types"
)

// DefaultPage is the default `page` number for queries.
// If the `page` number is not supplied, `DefaultPage` will be used.
const DefaultPage = 1
amaury1093 marked this conversation as resolved.
Show resolved Hide resolved

// DefaultLimit is the default `limit` for queries
Expand Down