Skip to content

[WIP][Immutable Models M2] messages.Proposal, messages.ClusterProposal: message/internal split + validation #7731

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

Draft
wants to merge 20 commits into
base: feature/immutability-networking-layer
Choose a base branch
from

Conversation

UlyanaAndrukhiv
Copy link
Contributor

@UlyanaAndrukhiv UlyanaAndrukhiv commented Aug 14, 2025

Note: This PR is in progress. Please do not review.
This PR should be to andron/7696-define-UntrustedMessage-interface branch
and PR includes TODO which should be implemented when interface UntrustedMessage will be ready.

Closes: #7698, #7701

Context

  • Added messages.Proposal and messages.ClusterProposal types (typedef to flow.UntrustedProposal and cluster.UntrustedProposal).
  • Implemented ToInternal() for them to convert to internal model.
  • Changed from flow.UntrustedProposal/cluster.UntrustedProposal to messages.Proposal/messages.ClusterProposal where do not used internally to be consistent.
  • Updated components where receives messages from the networking layer.
  • Updated test according to changes.

@UlyanaAndrukhiv UlyanaAndrukhiv self-assigned this Aug 14, 2025
@codecov-commenter
Copy link

codecov-commenter commented Aug 14, 2025

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