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

Support staking queries #162

Closed
ethanfrey opened this issue Oct 19, 2021 · 3 comments
Closed

Support staking queries #162

ethanfrey opened this issue Oct 19, 2021 · 3 comments
Assignees
Labels
M Medium task, 1-3 days work state_breaking
Milestone

Comments

@ethanfrey
Copy link
Member

ethanfrey commented Oct 19, 2021

Ensure all metadata is in the contracts.
Provide adaptor for the gRPC clients.
Ensure we have all info needed for CosmWasm query request support as well

Builds on https://github.com/confio/tgrade-contracts/issues/280 Please comment there for any other info needed by the sdk. Especially for slashing/jailing.

Update:
This task is about implementing a new StakingQuerier query handlers that works with PoE contracts, so that contracts can query data using the same query api.
Some queries are implemented already in https://github.com/confio/tgrade/blob/main/x/poe/wasm/query_plugin.go#L25

@ethanfrey ethanfrey changed the title Add slashing queries Support slashing queries Nov 2, 2021
@ethanfrey ethanfrey added this to the Tgrade 0.6 milestone Dec 2, 2021
@alpe alpe added the good first issue Good for newcomers label Jan 18, 2022
@maurolacy maurolacy removed their assignment Jan 26, 2022
@alpe alpe added the M Medium task, 1-3 days work label Jan 28, 2022
@alpe alpe removed the good first issue Good for newcomers label Feb 23, 2022
@daniellarita
Copy link

@alpe can you see if this is still relevant

@alpe
Copy link
Contributor

alpe commented Jul 7, 2022

Implementing the query is not state breaking itself but the code needs to be rolled out to all validators before it can be used. Consumer of this query is the valset contract.

@alpe alpe changed the title Support slashing queries Support staking queries Jul 8, 2022
@pinosu
Copy link
Contributor

pinosu commented Aug 29, 2022

Closing the issue because it is already implemented.

@pinosu pinosu closed this as completed Aug 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
M Medium task, 1-3 days work state_breaking
Projects
None yet
Development

No branches or pull requests

5 participants