Skip to content
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

ICS4: Simplify sendPacket interface #731

Merged
merged 1 commit into from
May 30, 2022
Merged

ICS4: Simplify sendPacket interface #731

merged 1 commit into from
May 30, 2022

Conversation

mpoke
Copy link
Contributor

@mpoke mpoke commented May 3, 2022

Closes #708

Before merging update the calls to sendPacket throughout the standard, i.e.,

@mpoke mpoke added the tao Transport, authentication, & ordering layer. label May 3, 2022
@mpoke mpoke requested a review from AdityaSripal as a code owner May 3, 2022 12:51
@mpoke mpoke self-assigned this May 3, 2022
@mpoke
Copy link
Contributor Author

mpoke commented May 3, 2022

If the changes are approved, I'll create different PRs for handling the tasks in the description.

@mpoke mpoke added ready-for-review Pull requests which are ready for review. and removed tao Transport, authentication, & ordering layer. labels May 3, 2022
Copy link
Contributor

@cwgoes cwgoes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK, makes sense to me (and I don't think this leads to any loss of functionality at the application layer)

Copy link
Contributor

@colin-axner colin-axner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice improvement! 🙌

Will a changelog be added to the repo soon? I fear we will forget to apply some of these changes in ibc-go if they aren't logged somewhere

@mpoke
Copy link
Contributor Author

mpoke commented May 19, 2022

Will a changelog be added to the repo soon? I fear we will forget to apply some of these changes in ibc-go if they aren't logged somewhere

@colin-axner That's a good point. @AdityaSripal @crodriguezvega what do you think?

@mpoke mpoke merged commit 76cf684 into master May 30, 2022
@mpoke mpoke deleted the marius/708-sendpacket branch May 30, 2022 09:05
Comment on lines +531 to +537
function sendPacket(
capability: CapabilityKey,
sourcePort: Identifier,
sourceChannel: Identifier,
timeoutHeight: Height,
timeoutTimestamp: uint64,
data: bytes) {
Copy link
Contributor

@colin-axner colin-axner Aug 10, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sorry I am just noticing this now, but I think the packet sequence should be returned. This will be useful for UX

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@colin-axner Could you please open an issue?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@charleenfei charleenfei mentioned this pull request Nov 3, 2022
23 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-for-review Pull requests which are ready for review.
Projects
Status: Backlog
Development

Successfully merging this pull request may close these issues.

ICS4: Simplify sendPacket interface
5 participants