-
Notifications
You must be signed in to change notification settings - Fork 31
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
fix: modify wasm grpc query api path. #453
Conversation
Codecov Report
@@ Coverage Diff @@
## release/v0.45.x #453 +/- ##
==================================================
Coverage ? 55.72%
==================================================
Files ? 719
Lines ? 73921
Branches ? 0
==================================================
Hits ? 41195
Misses ? 29613
Partials ? 3113 |
|
||
It is less efficient than using key. Only one of offset or key | ||
should | ||
|
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.
nit: Unnecessary line breaks in a sentence?
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.
swagger.yaml
file is generated by make proto-swagger-gen
.
So, we don't need to modify swagger file.
description: >- | ||
count_total is set to true to indicate that the result set should | ||
include | ||
|
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.
ditto
|
||
count_total is only respected when offset is used. It is ignored | ||
when key | ||
|
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.
ditto
Description
Modify wasm grpc query api path.
/line/wasm/v1/contract/{address}
->/lbm/wasm/v1/contract/{address}
/line/wasm/v1/contract/{address}/history
->/lbm/wasm/v1/code/{address}/history
/line/wasm/v1/code/{code_id}/contracts
->/lbm/wasm/v1/code/{code_id}/contracts
/line/wasm/v1/contract/{address}/state
->/lbm/wasm/v1/contract/{address}/state
/wasm/v1/contract/{address}/raw/{query_data}
->/lbm/wasm/v1/contract/{address}/raw/{query_data}
/wasm/v1/contract/{address}/smart/{query_data}
->/lbm/wasm/v1/contract/{address}/smart/{query_data}
/line/wasm/v1/code/{code_id}
->/lbm/wasm/v1/code/{code_id}
/line/wasm/v1/code
->/lbm/wasm/v1/code
Motivation and context
How has this been tested?
Screenshots (if appropriate):
Checklist:
CHANGELOG.md
client/docs/swagger-ui/swagger.yaml