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

Add chain-level filtering for CrossChain queries #4021

Closed
5 tasks
ljoss17 opened this issue Jun 7, 2024 · 0 comments · Fixed by #4022
Closed
5 tasks

Add chain-level filtering for CrossChain queries #4021

ljoss17 opened this issue Jun 7, 2024 · 0 comments · Fixed by #4022
Milestone

Comments

@ljoss17
Copy link
Contributor

ljoss17 commented Jun 7, 2024

Summary

Hermes version v1.9.0 doesn't apply any filtering to CrossChain queries, https://github.com/informalsystems/hermes/blob/master/crates/relayer/src/supervisor.rs#L383.
This can cause the relayer to try to relay CCQ to chains which aren't configured.

Proposal

Verify if the destination chain of a CrossChain query is configured, if not discard the query.


For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate milestone (priority) applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ✅ Done
1 participant