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

ICS 18: Off-chain relayer algorithm #35

Closed
cwgoes opened this issue Mar 7, 2019 · 6 comments · Fixed by #37
Closed

ICS 18: Off-chain relayer algorithm #35

cwgoes opened this issue Mar 7, 2019 · 6 comments · Fixed by #37
Assignees

Comments

@cwgoes
Copy link
Contributor

cwgoes commented Mar 7, 2019

Partially a port of the original spec.

Will cover:

  • Off-chain process relay algorithm
  • Permissioning
  • Fee payment mechanisms
@mossid
Copy link

mossid commented Mar 7, 2019

Should we include relayer incentivization here too, or in a separated issue? Fee accumulated by the packete generator on the source chain will be paid to the relayer on the destination chain, so we need an interchain standard for that.

@cwgoes
Copy link
Contributor Author

cwgoes commented Mar 7, 2019

I'm agnostic on that for now, I guess fees are application-layer, so maybe they should be separate.

@cwgoes cwgoes added this to the IBC Preliminaries milestone Mar 26, 2019
@vshvsh
Copy link

vshvsh commented Mar 27, 2019

For many real world application we'll need to relay a packet through multiple points (i.e. asset chain -> hub -> DEX). Routing can be done in one of the ICS layers or absolutely off-chain (wallet software tracking all three chains and issuing transactions in time). Arguments can be made for both approaches.

@ebuchman
Copy link
Member

ebuchman commented Apr 2, 2019

Do we have an issue for routing across blockchains? I believe this issue is more for the point-to-point relay from one blockchain to another rather than the potential multi-hop, but I suppose it could be expanded for that? Will depend on chain naming #12

@cwgoes
Copy link
Contributor Author

cwgoes commented Apr 2, 2019

Do we have an issue for routing across blockchains? I believe this issue is more for the point-to-point relay from one blockchain to another rather than the potential multi-hop, but I suppose it could be expanded for that? Will depend on chain naming #12

Now we do - #65.

I don't think the algorithms that a relayer process will run actually need to change based on multi-hop routing (multi-hop routing will just define part of the pendingDatagrams function) - do you think they do in another sense? If not, I think keeping multi-hop routing a separate ICS will be cleaner.

@vshvsh
Copy link

vshvsh commented Apr 2, 2019

It is definetely a separate ICS. Multi-hop routing will be complicated given that we might or might not want atomicity, latency/fee/security considerations for route choice, different allowed fee tokens for different hops etc etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants