Skip to content

Adapt send_packet() and send_transfer() API #442

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
Tracked by #431
plafer opened this issue Feb 17, 2023 · 0 comments · Fixed by #468
Closed
Tracked by #431

Adapt send_packet() and send_transfer() API #442

plafer opened this issue Feb 17, 2023 · 0 comments · Fixed by #468
Labels
A: breaking Admin: breaking change that may impact operators
Milestone

Comments

@plafer
Copy link
Contributor

plafer commented Feb 17, 2023

These APIs (and their traits) retain a flavor the old Reader/Keeper API. Changes to make include
(but are not limited to):

  • traits store_* methods should use Path arguments
  • Remove SendPacketResult
  • Probably don't need the Reader/Keeper separation
  • send_{transfer,packet}() should not return a HandlerResult, or use HandlerOutput
    • they should instead use ModuleExtras
  • split into *_validate() and *_execute()
@plafer plafer added this to ibc-rs Feb 17, 2023
@Farhad-Shabani Farhad-Shabani moved this to 📥 To Do in ibc-rs Feb 17, 2023
@plafer plafer changed the title Adapt send_packet() and send_transfer() API to Adapt send_packet() and send_transfer() API Feb 21, 2023
@plafer plafer added this to the v0.30.0 milestone Feb 23, 2023
@plafer plafer mentioned this issue Feb 24, 2023
7 tasks
@Farhad-Shabani Farhad-Shabani added the A: breaking Admin: breaking change that may impact operators label Feb 24, 2023
@github-project-automation github-project-automation bot moved this from 📥 To Do to ✅ Done in ibc-rs Feb 24, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
A: breaking Admin: breaking change that may impact operators
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants