-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
Implement Gaia-lite LCD Spec #2113
Comments
Also needed prelaunch, but not in the current spec: signing endpoint in key API. cc @adrianbrink |
Can we open a PR on the spec for that @gamarin2 ? |
@adrianbrink is supposed to do it |
|
Thank you for checking my work there @faboweb |
I just added one here: |
Sorry for off-topic, but what does an |
@siman iirc, light (lite?) client daemon 👍 |
Just realized we missed |
Also adding |
Proposal for splitting the POST delegation endpoint: #2191 . CC: @jackzampolin |
@jackzampolin it was renamed to |
@jackzampolin
If
|
@jackzampolin @cwgoes |
As far as I know: |
Let's keep both.
You are correct. Let's stick with just
Let's go with both where
Let's use the explicit
I propose to name this endpoint |
cc: @faboweb @HaoyangLiu
The original idea @jackzampolin and I discussed (I don't recall the exact date) is that we should would leave it as
Agree, but lets change
👍
From just looking at the endpoint |
I would put them into the request URL and not into the body, so the data stays the same but the handling changes. Plus: Let's do that later.
👍
👍 |
Updated list of endpoints according to the most recent discussion |
Update list. |
Follow up of #2336 I propose that we don't bloat the API and remove:
I don't see a use case for this. I see a usecase making this more general purpose:
|
@faboweb I get your point and I think that would be actually more useful. I even thought initially of the same idea but with The thing is that that functionality is not implemented since there's no
Here's the permalink to the function: cosmos-sdk/x/stake/keeper/delegation.go Lines 245 to 258 in c653053
Am I right @cwgoes ? |
I think this is done, @jackzampolin can we close this ? |
@fedekunze Can you do the honor as this has been your baby!? |
😆 closing this ! 🎊 |
This issue is to track implementation of the newly accepted LCD API spec (#1979). Each of the interchain standards needs to be checked to ensure that it is brought up to spec. The input, return and error values in the spec also need to be updated for each endpoint. Those updates should accompany code changes. Below is a list of the ICS and their endpoints to track progress.
POST /txs
POST /tx/sign
POST /tx/broadcast
GET /keys
POST /keys
GET /keys/seed
GET /keys/{name}
PUT /keys/{name}
DELETE /keys/{name}
POST /keys/{name}/recover
GET /auth/accounts/{address}
GET /bank/balances/{address}
POST /bank/accounts/{address}/transfers
GET /stake/delegators/{delegatorAddr}/validators
GET /stake/delegators/{delegatorAddr}/validators/{validatorAddr}
GET /stake/delegators/{delegatorAddr}/txs
GET /stake/delegators/{delegatorAddr}/delegations
Split GET delegators/{address} endpoint #2258GET /stake/delegators/{delegatorAddr}/delegations/{validatorAddr}
GET /stake/delegators/{delegatorAddr}/unbonding_delegations
Split GET delegators/{address} endpoint #2258GET /stake/delegators/{delegatorAddr}/unbonding_delegations/{validatorAddr}
GET /stake/delegators/{delegatorAddr}/redelegations
Split GET delegators/{address} endpoint #2258GET /stake/redelegations?
Add GET redelegation endpoint and querier #2182POST /stake/delegators/{delegatorAddr}/delegations
Split POST delegations endpoint #2191POST /stake/delegators/{delegatorAddr}/unbonding_delegations
Split POST delegations endpoint #2191POST /stake/delegators/{delegatorAddr}/redelegations
Split POST delegations endpoint #2191GET /stake/validators
GET /stake/validators/{validatorAddr}
GET /stake/validators/{validatorAddr}/delegations
Add cmd and endpoints to get validator delegations #2027GET /stake/validators/{validatorAddr}/unbonding_delegations
Get unbonding_delegations and redelegations from a validator #2477GET /stake/validators/{validatorAddr}/redelegations
Get unbonding_delegations and redelegations from a validator #2477GET /stake/parameters
GET /stake/pool
GET /gov/proposals
GET /gov/proposals/{proposalId}
GET /gov/proposals/{proposalId}/deposits
Query all deposits on a governance proposal #2478GET /gov/proposals/{proposalId}/deposits/{address}
GET /gov/proposals/{proposalId}/votes
GET /gov/proposals/{proposalId}/votes/{address}
GET /gov/parameters
Query governance paramaters #2479POST /gov/proposals
POST /gov/proposals/{proposalId}/deposits
POST /gov/proposals/{proposalId}/votes
GET /slashing/validators/{validatorPubKey}/signing-info
[R4R]: add swagger-ui for gov, stake and slashing #2462GET /slashing/parameters
Query Slashing Parameters #2399POST /slashing/validators/{validatorAddr}/unjail
Rename revoke(d) to jail(ed) #2120 [R4R]: add swagger-ui for gov, stake and slashing #2462cc @fedekunze
The text was updated successfully, but these errors were encountered: