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
The vote option of a MsgVote/GovMsgVote should be called option, not vote:
@@ -211,7 +211,7 @@ pub enum GovMsg {
Vote {
proposal_id: u64,
/// The vote option. This should be called "option" for consistency with Cosmos SDK. Sorry for that.
- vote: VoteOption,+ option: VoteOption,
},
The wrong naming currectly exists between CosmWasm and wasmvm.
Not sure if we can ever change this but I want to mark this as our bug.
The text was updated successfully, but these errors were encountered:
webmaster128
changed the title
Wrong field name in GovMsg::Vote: vote should be option
Wrong field name in GovMsg::Vote: "vote" should be "option"
Jan 17, 2023
The vote option of a MsgVote/GovMsgVote should be called
option
, notvote
:The wrong naming currectly exists between CosmWasm and wasmvm.
Cosmos SDK naming here:
Not sure if we can ever change this but I want to mark this as our bug.
The text was updated successfully, but these errors were encountered: