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(consensus/grandpa): Add warp sync verification #4240

Draft
wants to merge 8 commits into
base: development
Choose a base branch
from

Conversation

dimartiro
Copy link
Contributor

@dimartiro dimartiro commented Oct 9, 2024

Changes

Implement warp sync verification

  • Add warp sync proof verify method
  • Some other changes to use the right types
  • Tests

Note: I'd rather to not use generics in this initial phase because that will imply more changes (eg: in BlockState and GrandpaState) we can revisit this later to make the structs generic.

Tests

make test

Issues

#4237

dot/network/warp_sync.go Outdated Show resolved Hide resolved
dot/network/warp_sync.go Show resolved Hide resolved
@dimartiro dimartiro self-assigned this Oct 14, 2024
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.

2 participants