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

stargate queries not serialized correctly #1

Open
wesl-ee opened this issue Aug 15, 2024 · 0 comments
Open

stargate queries not serialized correctly #1

wesl-ee opened this issue Aug 15, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@wesl-ee
Copy link
Member

wesl-ee commented Aug 15, 2024

Enabling the stargate feature flag will query the x/oracle and x/marketmap modules via Stargate QueryRequest::Stargate instead of by custom message type QueryRequest::Custom. The correct path is provided but the data needed for the query is not serialized correctly and results in Error: rpc error: code = Unknown desc = Generic error: Querier contract error: codespace: undefined, code: 1: query wasm contract failed: unknown request.

Stargate is a deprecated way to make queries from the wasm module, and worth noting that neutron_sdk removed stargate from their exported bindings. We will either fix the stargate feature flag or remove it in the future.

@wesl-ee wesl-ee added the bug Something isn't working label Aug 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant