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

Partial Set Security: Introduce queries #1609

Closed
Tracked by #853
insumity opened this issue Jan 31, 2024 · 0 comments · Fixed by #1733
Closed
Tracked by #853

Partial Set Security: Introduce queries #1609

insumity opened this issue Jan 31, 2024 · 0 comments · Fixed by #1733
Assignees
Labels
S: NewThings Work towards your business objectives with new products, features, or integrations

Comments

@insumity
Copy link
Contributor

insumity commented Jan 31, 2024

Problem

Introduce (or modify) queries as outlined in ADR-015. This means, at least the following queries:

  • modify interchain-security-pd query provider list-consumer-chains to return information on whether a consumer chain is an Opt In or a Top N chain and with what N;
  • interchain-security-pd query provider optedInValidators $chainID to retrieve the validators that are opted in and hence the validators that need to validate the consumer chain;
  • interchain-security-pd query provider hasToValidate $providerAddr that given a validator's address returns all the chains this validator has to validate. (FYI, a note mentioned by @sainoe was that: i) we could create and store a reverse mapping on the Hub from validator to chains but this would be error prone (e.g., more code), and ii) we could just loop through all the chains and find the validator which would slow down those operations).

Closing criteria

Implement and thoroughly test.

@insumity insumity added the status: waiting-triage This issue/PR has not yet been triaged by the team. label Jan 31, 2024
@github-project-automation github-project-automation bot moved this to 🩹 F1: Triage in Cosmos Hub Jan 31, 2024
@insumity insumity added C:x/provider Assigned automatically by the PR labeler S: NewThings Work towards your business objectives with new products, features, or integrations and removed status: waiting-triage This issue/PR has not yet been triaged by the team. labels Jan 31, 2024
@mpoke mpoke removed the C:x/provider Assigned automatically by the PR labeler label Mar 22, 2024
@sainoe sainoe moved this from 🩹 F1: Triage to 👀 F3: InReview in Cosmos Hub Mar 28, 2024
@sainoe sainoe closed this as completed Mar 28, 2024
@github-project-automation github-project-automation bot moved this from 👀 F3: InReview to 👍 F4: Assessment in Cosmos Hub Mar 28, 2024
@sainoe sainoe moved this from 👍 F4: Assessment to ✅ Done in Cosmos Hub Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S: NewThings Work towards your business objectives with new products, features, or integrations
Projects
Status: ✅ Done
Development

Successfully merging a pull request may close this issue.

3 participants