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

refund fees which cannot be distributed #690

Closed
3 tasks
colin-axner opened this issue Jan 7, 2022 · 2 comments · Fixed by #1231
Closed
3 tasks

refund fees which cannot be distributed #690

colin-axner opened this issue Jan 7, 2022 · 2 comments · Fixed by #1231
Assignees
Labels

Comments

@colin-axner
Copy link
Contributor

Summary

In ICS29 it is possible the forward relaying address provided is invalid (or perhaps a blocked address). This causes the forward relaying fee to be left in escrow.

We should consider doing something with the forward relaying fees. Potential options:

  • refund
  • send to community pool

For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged/assigned
@colin-axner colin-axner added needs discussion Issues that need discussion before they can be worked on 29-fee labels Jan 7, 2022
@crodriguezvega
Copy link
Contributor

I see that the ICS-29 spec says the following:

If the relayer does not register their counterparty address, or registers an invalid address; the acknowledgment will still be received and processed but the forward fee will be refunded to the original fee payer(s).

@colin-axner colin-axner changed the title Do something with forward relaying fees which cannot be distributed refund fees which cannot be distributed Jan 17, 2022
@colin-axner colin-axner removed the needs discussion Issues that need discussion before they can be worked on label Feb 7, 2022
@crodriguezvega crodriguezvega moved this to Backlog in ibc-go Feb 7, 2022
@crodriguezvega crodriguezvega added this to the Fee middleware beta milestone Mar 29, 2022
@crodriguezvega crodriguezvega moved this from Backlog to Todo in ibc-go Apr 4, 2022
@damiannolan
Copy link
Member

I think this issue is mostly done. See: https://github.com/cosmos/ibc-go/blob/ics29-fee-middleware/modules/apps/29-fee/keeper/escrow.go#L58

We can also add a check for the block addrs.

@damiannolan damiannolan moved this from Todo to In review in ibc-go Apr 6, 2022
Repository owner moved this from In review to Done in ibc-go Apr 7, 2022
CosmosCar pushed a commit to caelus-labs/ibc-go that referenced this issue Nov 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

4 participants