Skip to content

Commit 31cd8b6

Browse files
committed
Update schema
1 parent 588e46b commit 31cd8b6

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

contracts/reflect/schema/raw/response_to_sub_msg_result.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,17 @@
44
"description": "The result object returned to `reply`. We always get the ID from the submessage back and then must handle success and error cases ourselves.",
55
"type": "object",
66
"required": [
7+
"gas_used",
78
"id",
89
"result"
910
],
1011
"properties": {
12+
"gas_used": {
13+
"description": "The amount of gas used by the submessage, measured in [Cosmos SDK gas](https://github.com/CosmWasm/cosmwasm/blob/main/docs/GAS.md).",
14+
"type": "integer",
15+
"format": "uint64",
16+
"minimum": 0.0
17+
},
1118
"id": {
1219
"description": "The ID that the contract set when emitting the `SubMsg`. Use this to identify which submessage triggered the `reply`.",
1320
"type": "integer",

contracts/reflect/schema/reflect.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1885,10 +1885,17 @@
18851885
"description": "The result object returned to `reply`. We always get the ID from the submessage back and then must handle success and error cases ourselves.",
18861886
"type": "object",
18871887
"required": [
1888+
"gas_used",
18881889
"id",
18891890
"result"
18901891
],
18911892
"properties": {
1893+
"gas_used": {
1894+
"description": "The amount of gas used by the submessage, measured in [Cosmos SDK gas](https://github.com/CosmWasm/cosmwasm/blob/main/docs/GAS.md).",
1895+
"type": "integer",
1896+
"format": "uint64",
1897+
"minimum": 0.0
1898+
},
18921899
"id": {
18931900
"description": "The ID that the contract set when emitting the `SubMsg`. Use this to identify which submessage triggered the `reply`.",
18941901
"type": "integer",

0 commit comments

Comments
 (0)