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

feat: implement protocols #12

Merged
merged 5 commits into from
Sep 10, 2024
Merged

feat: implement protocols #12

merged 5 commits into from
Sep 10, 2024

Conversation

ablax
Copy link
Member

@ablax ablax commented Sep 9, 2024

Description

  • What does this PR do?
    Implement grandpa and blockannounce substream/stream protocols

Fixes LimeChain#518

Checklist:

  • I have read the contributing guidelines.
  • My PR title matches the Conventional Commits spec.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@ablax ablax marked this pull request as ready for review September 9, 2024 13:10
private static String grandpaProtocolChain(String chainId) {
return chainId.equals("dot") ? "paritytech" : chainId;
public static String getGrandpaProtocol() {
return "/paritytech/grandpa/1";
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we sticking to the legacy protocol string?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Until we add configuration for the host, yes

@ablax ablax merged commit 9670bd3 into dev Sep 10, 2024
1 check passed
@Grigorov-Georgi Grigorov-Georgi deleted the 518-implement-protocols branch September 10, 2024 11:33
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.

Implement Protocols
4 participants