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

Set counterparty address for relayer fee before starting channel worker #1964

Closed
5 tasks
Tracked by #1168 ...
soareschen opened this issue Mar 16, 2022 · 0 comments · Fixed by #1981
Closed
5 tasks
Tracked by #1168 ...

Set counterparty address for relayer fee before starting channel worker #1964

soareschen opened this issue Mar 16, 2022 · 0 comments · Fixed by #1981
Labels
O: ics29-fee Objective: Fee middleware support
Milestone

Comments

@soareschen
Copy link
Contributor

soareschen commented Mar 16, 2022

Summary

When starting a channel worker, the relayer needs to first check whether fee is enabled on the channel, and whether the relayer have already set a counterparty address on both chains. If not, the relayer needs to first register its counterparty addresses before starting to relay, so that it can be paid the receive fee.

The relayer also needs to check if the existing registered counterparty address is different from the wallet in its config, then the counterparty address needs to be updated.

Acceptance Criteria

When start relaying the first time on a channel with fee enabled, the relayer should be paid receive fee after relaying incentivized packets.


For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate milestone (priority) applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned
@soareschen soareschen added the O: ics29-fee Objective: Fee middleware support label Mar 16, 2022
@soareschen soareschen added this to the v0.14.0 milestone Mar 16, 2022
@adizere adizere moved this to Backlog in IBC-rs: the road to v1 Mar 29, 2022
@adizere adizere modified the milestones: v0.14.0, v0.15.0 Mar 30, 2022
@adizere adizere modified the milestones: v0.15.0, v1.0.0 May 24, 2022
@adizere adizere modified the milestones: v1.0.0, v1.1, v1.2 Jun 27, 2022
@adizere adizere linked a pull request Jun 29, 2022 that will close this issue
8 tasks
@adizere adizere modified the milestones: v1.2, v1.1 Jun 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
O: ics29-fee Objective: Fee middleware support
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants