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

[Feature]: Add QueryModuleAccounts from x/auth to stargate whitelist #6585

Closed
ibjc opened this issue Sep 28, 2023 · 0 comments · Fixed by #6586
Closed

[Feature]: Add QueryModuleAccounts from x/auth to stargate whitelist #6585

ibjc opened this issue Sep 28, 2023 · 0 comments · Fixed by #6586

Comments

@ibjc
Copy link
Contributor

ibjc commented Sep 28, 2023

Summary

We need a way to fetch osmosis's module accounts from a smart contract context.

Problem Definition

We have a specific problem related to the tokenfactory hooks; basically, our smart contracts need a way to identify when the tokenfactory module account is involved (ie mint/burns situations). While manually setting this in the config is possible, it would be ideal if the contract can fetch this directly from the auth module.

Proposed Feature

add /cosmos.auth.v1beta1.query/moduleaccounts to the wasmbindings/stargate_whitelist.go

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant