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: packages/std/src/results/cosmos_msg.rs
+8-1Lines changed: 8 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -208,7 +208,14 @@ 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