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
Show file tree
Hide file tree
Changes from 33 commits
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
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,14 @@ Ref: https://keepachangelog.com/en/1.0.0/
* [\#9246](https://github.com/cosmos/cosmos-sdk/pull/9246) The `New` method for the network package now returns an error.
* (codec) [\#9521](https://github.com/cosmos/cosmos-sdk/pull/9521) Removed deprecated `clientCtx.JSONCodec` from `client.Context`.
* (codec) [\#9521](https://github.com/cosmos/cosmos-sdk/pull/9521) Rename `EncodingConfig.Marshaler` to `Codec`.
* [\#9594](https://github.com/cosmos/cosmos-sdk/pull/9594) `RESTHandlerFn` argument is removed from the `gov/NewProposalHandler`.
* [\#9594](https://github.com/cosmos/cosmos-sdk/pull/9594) `types/rest` package moved to `testutil/rest`.


### Client Breaking Changes

* [\#9594](https://github.com/cosmos/cosmos-sdk/pull/9594) Remove legacy REST API. Please see the [REST Endpoints Migration guide](https://docs.cosmos.network/master/migrations/rest.html) to migrate to the new REST endpoints.


### CLI Breaking Changes

Expand Down
10 changes: 2 additions & 8 deletions client/docs/config.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,11 @@
{
"swagger": "2.0",
"info": {
"title": "Cosmos SDK - Legacy REST and gRPC Gateway docs",
"description": "A REST interface for state queries, legacy transactions",
"title": "Cosmos SDK - gRPC Gateway docs",
"description": "A REST interface for state queries",
"version": "1.0.0"
},
"apis": [
{
"url": "./client/docs/swagger_legacy.yaml",
"dereference": {
"circular": "ignore"
}
},
{
"url": "./tmp-swagger-gen/cosmos/auth/v1beta1/query.swagger.json",
"operationIds": {
Expand Down
2 changes: 1 addition & 1 deletion client/docs/statik/statik.go

Large diffs are not rendered by default.

Loading