We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b96aa96 commit c1a7e6eCopy full SHA for c1a7e6e
packages/std/src/results/submessages.rs
@@ -181,6 +181,10 @@ pub struct Reply {
181
pub payload: Binary,
182
/// The amount of gas used by the submessage,
183
/// measured in [Cosmos SDK gas](https://github.com/CosmWasm/cosmwasm/blob/main/docs/GAS.md).
184
+ ///
185
+ /// This only contains a useful value on chains running CosmWasm 2.0 or higher.
186
+ /// On older chains, this field is always 0.
187
+ #[serde(default)]
188
pub gas_used: u64,
189
pub result: SubMsgResult,
190
}
0 commit comments