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

Implement warp proof verification #4237

Open
dimartiro opened this issue Oct 9, 2024 · 0 comments
Open

Implement warp proof verification #4237

dimartiro opened this issue Oct 9, 2024 · 0 comments
Assignees
Labels
C-simple Minor changes changes, no additional research needed. Good first issue/review. S-network issues related to the dot/network package. T-feat this issue/pr is a new feature or functionality.

Comments

@dimartiro
Copy link
Contributor

dimartiro commented Oct 9, 2024

We need to implement the warp sync verification in order to handle the warp sync response in our new warp sync strategy.

The implementation should be simple and must be part of the WarpSyncProvider interface

go
Verify(proof []byte, setId grandpa.SetID, authorities grandpa.AuthorityList)

https://github.com/paritytech/polkadot-sdk/blob/6c2b46f9620fd147e63b151320cc145551fd2c18/substrate/client/consensus/grandpa/src/warp_proof.rs#L287-L312

@dimartiro dimartiro self-assigned this Oct 9, 2024
@dimartiro dimartiro added C-simple Minor changes changes, no additional research needed. Good first issue/review. S-network issues related to the dot/network package. T-feat this issue/pr is a new feature or functionality. labels Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-simple Minor changes changes, no additional research needed. Good first issue/review. S-network issues related to the dot/network package. T-feat this issue/pr is a new feature or functionality.
Projects
None yet
Development

No branches or pull requests

1 participant