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

Make RadioPayloadMessage a trait #294

Open
neriumrevolta opened this issue Oct 10, 2023 · 0 comments
Open

Make RadioPayloadMessage a trait #294

neriumrevolta opened this issue Oct 10, 2023 · 0 comments
Assignees

Comments

@neriumrevolta
Copy link
Contributor

neriumrevolta commented Oct 10, 2023

RadioPayloadMessage should be a trait, not a struct

This trait need to require:

  1. Everything on GraphcastMessage currently
  2. Set of required functions
    • decode
    • validity_check
    • build
  3. Set of required fields
    • graph_account
    • nonce
@neriumrevolta neriumrevolta self-assigned this Oct 10, 2023
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

No branches or pull requests

1 participant