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

Specify exact scan/query/submit relayer algorithm #217

Closed
cwgoes opened this issue Aug 22, 2019 · 3 comments · Fixed by #318
Closed

Specify exact scan/query/submit relayer algorithm #217

cwgoes opened this issue Aug 22, 2019 · 3 comments · Fixed by #318
Assignees
Milestone

Comments

@cwgoes
Copy link
Contributor

cwgoes commented Aug 22, 2019

Follow-up from #166

@cwgoes
Copy link
Contributor Author

cwgoes commented Oct 25, 2019

Should cover:

  • Handshakes (through relayer module)
  • Outgoing packets (then calling recvPacket through relayer module)

Basic algorithm:

  • Between two chains
  • Scan state, check for sendable datagrams
  • Interleave client updates as necessary for updated state commitments
  • Valid datagrams depend on state of both chains

@cwgoes
Copy link
Contributor Author

cwgoes commented Oct 25, 2019

Note: this can only work generically with implementations which use the relayer module, since otherwise the relayer process would need knowledge of module-specific message encoding details to determine how to invoke recvPacket.

@cwgoes
Copy link
Contributor Author

cwgoes commented Nov 13, 2019

For simplicity we'll always update the client in the example algorithm.

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.

1 participant