-
Notifications
You must be signed in to change notification settings - Fork 628
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
Modify MsgSendTx fields based on audit #2280
Merged
Merged
Changes from 9 commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
55390f4
chore: modify MsgSendTx fields based on audiit
chatton be2c7b3
Merge branch 'main' into cian/issue#2232-modify-msgsendtx-fields
chatton 42396d0
Merge branch 'main' into cian/issue#2232-modify-msgsendtx-fields
chatton a869217
Merge branch 'main' into cian/issue#2232-modify-msgsendtx-fields
chatton 5cf2181
Merge branch 'main' into cian/issue#2232-modify-msgsendtx-fields
chatton f700a84
chore: addressing PR feedback and updating cli flag to be relative pa…
chatton 493176d
Merge branch 'cian/issue#2232-modify-msgsendtx-fields' of https://git…
chatton 0d94865
Merge branch 'main' into cian/issue#2232-modify-msgsendtx-fields
chatton db32911
Merge branch 'main' into cian/issue#2232-modify-msgsendtx-fields
chatton 626f347
chore: merge main
chatton f6a4686
chore: changing error from regular error to sdk typed error
chatton e8bacdf
Merge branch 'main' into cian/issue#2232-modify-msgsendtx-fields
chatton 55f2737
chore: merge main
chatton c9eed42
chore: updating testcase for relative timeout
chatton 11e626f
chore: addressing PR feedback
chatton 296cf80
chore: updating comment in proto file
chatton a900851
Merge branch 'main' into cian/issue#2232-modify-msgsendtx-fields
chatton a16e555
chrore: using sdk error instead of regular error
chatton f92a5de
Update modules/apps/27-interchain-accounts/controller/types/msgs.go
chatton 0d3279f
chore: running go mod tidy
chatton f8dd87d
Merge branch 'cian/issue#2232-modify-msgsendtx-fields' of https://git…
chatton File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -50,7 +50,7 @@ func (s msgServer) SendTx(goCtx context.Context, msg *types.MsgSendTx) (*types.M | |
} | ||
|
||
// explicitly passing nil as the argument is discarded as the channel capability is retrieved in SendTx. | ||
seq, err := s.Keeper.SendTx(ctx, nil, msg.ConnectionId, portID, msg.PacketData, msg.TimeoutTimestamp) | ||
seq, err := s.Keeper.SendTx(ctx, nil, msg.ConnectionId, portID, msg.PacketData, msg.RelativeTimeout) | ||
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 value will be passed correctly in #2257 |
||
if err != nil { | ||
return nil, err | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Nit: why not drop the
Timestamp
word? In the proto file is called justrelative_timeout
andtimestamp
has the connotation of a fixed date/time...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.
it must have been accidentally included! I've removed it now