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 gRPC query for WASM params #889

Closed
minxylynx opened this issue Jun 13, 2022 · 4 comments · Fixed by #969
Closed

Add gRPC query for WASM params #889

minxylynx opened this issue Jun 13, 2022 · 4 comments · Fixed by #969
Milestone

Comments

@minxylynx
Copy link

Params are present in the WASM module, but there is no way to query for them, either via CLI or gRPC.

Would be very helpful to have this ability

@ethanfrey
Copy link
Member

Isn't there a generic params query? (in 0.45)
Can you link to another module specific params query that shows the desired behavior?

@jhernandezb
Copy link
Contributor

You can already do this through the params module

wasmd q params subspace wasm uploadAccess
wasmd q params subspace wasm instantiateAccess

This requires you to know each param key which the only way is by reading the code https://github.com/CosmWasm/wasmd/blob/main/x/wasm/types/params.go#L16

I agree that other modules provide a more convenient way to retrieve all at once without having to know each ParamKey

a wasmd q wasm params could be helpful

@minxylynx
Copy link
Author

minxylynx commented Jun 16, 2022 via email

@ethanfrey ethanfrey added this to the v0.28.0 milestone Jun 17, 2022
@alpe alpe closed this as completed in #969 Sep 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants