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

No gas_used field in Reply type #8232

Open
lvn-hasky-dragon opened this issue May 7, 2024 · 0 comments
Open

No gas_used field in Reply type #8232

lvn-hasky-dragon opened this issue May 7, 2024 · 0 comments
Assignees

Comments

@lvn-hasky-dragon
Copy link

What happened?

I have been recently working on upgrading cosmwasm-std dependency (to 2.0.2) in our code base. I noticed that Osmosis node doesn't seem to populate the gas_used field in the Reply type: https://docs.rs/cosmwasm-std/2.0.2/cosmwasm_std/struct.Reply.html

Because of this, I got the following runtime error in our codebase:

    Status { code: Unknown, message: "failed to execute message; message index: 0: dispatch: submessages: reply: Error parsing into type cosmwasm_std::results::submessages::Reply: missing field `gas_used`: execute wasm contract failed", metadata: MetadataMap { headers: {"content-type": "application/grpc", "x-cosmos-block-height": "6920"} }, source: None }

Related issue in cosmwasm: CosmWasm/cosmwasm#1611

Osmosis Version

main

How to reproduce?

No response

@PaddyMc PaddyMc self-assigned this May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Needs Triage 🔍
Development

No branches or pull requests

2 participants