You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: contracts/ibc-reflect-send/schema/ibc-reflect-send.json
+6-1Lines changed: 6 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -378,7 +378,12 @@
378
378
"minimum": 0.0
379
379
},
380
380
"vote": {
381
-
"$ref": "#/definitions/VoteOption"
381
+
"description": "The vote option.\n\nThis should be called \"option\" for consistency with Cosmos SDK. Sorry for that. See <https://github.com/CosmWasm/cosmwasm/issues/1571>.",
Copy file name to clipboardExpand all lines: contracts/ibc-reflect-send/schema/packet_msg.json
+6-1Lines changed: 6 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -316,7 +316,12 @@
316
316
"minimum": 0.0
317
317
},
318
318
"vote": {
319
-
"$ref": "#/definitions/VoteOption"
319
+
"description": "The vote option.\n\nThis should be called \"option\" for consistency with Cosmos SDK. Sorry for that. See <https://github.com/CosmWasm/cosmwasm/issues/1571>.",
Copy file name to clipboardExpand all lines: contracts/ibc-reflect-send/schema/raw/execute.json
+6-1Lines changed: 6 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -367,7 +367,12 @@
367
367
"minimum": 0.0
368
368
},
369
369
"vote": {
370
-
"$ref": "#/definitions/VoteOption"
370
+
"description": "The vote option.\n\nThis should be called \"option\" for consistency with Cosmos SDK. Sorry for that. See <https://github.com/CosmWasm/cosmwasm/issues/1571>.",
Copy file name to clipboardExpand all lines: contracts/ibc-reflect/schema/packet_msg.json
+6-1Lines changed: 6 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -245,7 +245,12 @@
245
245
"minimum": 0.0
246
246
},
247
247
"vote": {
248
-
"$ref": "#/definitions/VoteOption"
248
+
"description": "The vote option.\n\nThis should be called \"option\" for consistency with Cosmos SDK. Sorry for that. See <https://github.com/CosmWasm/cosmwasm/issues/1571>.",
Copy file name to clipboardExpand all lines: contracts/reflect/schema/raw/execute.json
+6-1Lines changed: 6 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -362,7 +362,12 @@
362
362
"minimum": 0.0
363
363
},
364
364
"vote": {
365
-
"$ref": "#/definitions/VoteOption"
365
+
"description": "The vote option.\n\nThis should be called \"option\" for consistency with Cosmos SDK. Sorry for that. See <https://github.com/CosmWasm/cosmwasm/issues/1571>.",
Copy file name to clipboardExpand all lines: contracts/reflect/schema/reflect.json
+6-1Lines changed: 6 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -372,7 +372,12 @@
372
372
"minimum": 0.0
373
373
},
374
374
"vote": {
375
-
"$ref": "#/definitions/VoteOption"
375
+
"description": "The vote option.\n\nThis should be called \"option\" for consistency with Cosmos SDK. Sorry for that. See <https://github.com/CosmWasm/cosmwasm/issues/1571>.",
Copy file name to clipboardExpand all lines: packages/std/src/results/cosmos_msg.rs
+118-5Lines changed: 118 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -208,12 +208,19 @@ pub enum WasmMsg {
208
208
#[serde(rename_all = "snake_case")]
209
209
pubenumGovMsg{
210
210
/// This maps directly to [MsgVote](https://github.com/cosmos/cosmos-sdk/blob/v0.42.5/proto/cosmos/gov/v1beta1/tx.proto#L46-L56) in the Cosmos SDK with voter set to the contract address.
211
-
Vote{proposal_id:u64,vote:VoteOption},
211
+
Vote{
212
+
proposal_id:u64,
213
+
/// The vote option.
214
+
///
215
+
/// This should be called "option" for consistency with Cosmos SDK. Sorry for that.
216
+
/// See <https://github.com/CosmWasm/cosmwasm/issues/1571>.
217
+
vote:VoteOption,
218
+
},
212
219
/// This maps directly to [MsgVoteWeighted](https://github.com/cosmos/cosmos-sdk/blob/v0.45.8/proto/cosmos/gov/v1beta1/tx.proto#L66-L78) in the Cosmos SDK with voter set to the contract address.
0 commit comments