Skip to content

Mark more queries with module_query_safe #20219

Open
@srdtrk

Description

Summary

Mark all x/distribution and x/gov queries with the module_query_safe tag to allow them to be queries by interchain accounts.

Problem Definition

Currently, all (or most) of x/bank, x/staking, x/auth, x/circuit queries are marked with the module_query_safe tag. In interchain accounts, we only allow module_query_safe queries to be executed across chains since the query results are written to the packet acknowledgement. Our users would like would like to have x/distribution and x/gov queries enabled. It'd be nice to look into what other modules can be enabled as well.

This was also suggested in this closed issue.

Proposed Feature

Add this line to the mentioned queries and add tests if needed.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

Type

No type

Projects

  • Status

    📋 Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions