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

Typed Round trait #65

Open
fjarri opened this issue Nov 5, 2024 · 0 comments
Open

Typed Round trait #65

fjarri opened this issue Nov 5, 2024 · 0 comments
Assignees
Labels
API Involves backwards-incompatible changes of the public API
Milestone

Comments

@fjarri
Copy link
Member

fjarri commented Nov 5, 2024

The current dynamic rounds are useful for writing combinators and tests, but we need to explore more static rounds (that would still be castable to BoxedRound and compatible with the rest of the machinery). Something that has associated types for the messages, payloads, and artifacts so that they don't have to be manually serialized/deserialized.

The problem here is correctly recognisinig rounds that don't send some type of messages, or don't create artifacts. We can use () in the corresponding associated type to indicate that.

@fjarri fjarri added the API Involves backwards-incompatible changes of the public API label Nov 5, 2024
@fjarri fjarri self-assigned this Nov 9, 2024
@fjarri fjarri added this to the v0.2.0 milestone Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API Involves backwards-incompatible changes of the public API
Projects
None yet
Development

No branches or pull requests

1 participant