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

decode messages to wire message #4188

Open
wants to merge 2 commits into
base: kishan/feat/network-bridge-rx
Choose a base branch
from

Conversation

kishansagathiya
Copy link
Contributor

collation protocol and validation protocol uses messages wrapped as wiremessage. So we had to adjust our decoder and handler functions according to that.

Apart from this I have also added message type to wire message struct. Since wire message could be collation message or validation message, I have chose to manually set this as a value instead of returning a hardcoded value.

Changes

Tests

go test -tags integration github.com/ChainSafe/gossamer

Issues

#4108

collation protocol and validation protocol uses messages wrapped as wiremessage.
So we had to adjust our decoder and handler functions according to that.

Apart from this I have also added message type to wire message struct. Since wire message
could be collation message or validation message, I have chose to manually set this as a value instead
of returning a hardcoded value.
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 this pull request may close these issues.

1 participant