Allow module_query_safe
queries in ICA
#5784
Labels
27-interchain-accounts
change: state machine breaking
Issues or PRs that break consensus (need to be released in at least a new minor version)
needs discussion
Issues that need discussion before they can be worked on
type: feature
New features, sub-features or integrations
Milestone
Summary
One of the most common criticism of ICA is that it doesn't provide any query API. Usually the ICA transaction a contract wants to execute depends on the state of the counterparty chain. Allowing queries (which can be safely written to IBC acknowledgements) can improve the developer UX greatly.
I'm creating this issue as a part of Interchain focus week to document my progress and what I've been working on.
Problem Definition
Many ICA users use ICA alongside ICQ which is not universally supported. This is why offering a native solution is ideal.
This proposal should not be merged without greater team consensus as it is part the focus week mentioned above.
Proposal
Simply introduce a new tx message to icahost that queries the chain (only those marked with
module_query_safe
) and writes their responses to it's own responseFor Admin Use
The text was updated successfully, but these errors were encountered: