-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: MsgMultiSend validation allows only a single sender #12610
Changes from 5 commits
abc4340
580861c
fe244bd
e2f3642
9616d0d
e63581a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,13 +34,13 @@ message MsgSend { | |
// MsgSendResponse defines the Msg/Send response type. | ||
message MsgSendResponse {} | ||
|
||
// MsgMultiSend represents an arbitrary multi-in, multi-out send message. | ||
// MsgMultiSend represents a single input, multi-out send message. | ||
message MsgMultiSend { | ||
option (cosmos.msg.v1.signer) = "inputs"; | ||
option (cosmos.msg.v1.signer) = "input"; | ||
|
||
option (gogoproto.equal) = false; | ||
|
||
repeated Input inputs = 1 [(gogoproto.nullable) = false]; | ||
Input input = 1 [(gogoproto.nullable) = false]; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This PR got merged with a proto breaking change, and the proto package did not get bumped. We should actually revert this change. @likhita-809 could you create a follow-up PR? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. (thinking about it, my comment #12610 (comment) might have been confusing... I thought there was something to change in the signer proto option, but there's actually nothing to change). There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. So, should I revert it to this commit abc4340#diff-4b06aeb8c7fd43a99b1a1c0eb62792aae06649ead661bd26bc843e9a0485336a There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Not 100% sure which commit it should be, but all the proto changes in this PR should be reverted. |
||
repeated Output outputs = 2 [(gogoproto.nullable) = false]; | ||
} | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TODO: Add in
UPGRADING.md
the alternative. (For me to remember for next version)