-
Notifications
You must be signed in to change notification settings - Fork 109
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
(lib/grandpa): verify justification hash relates to block being justified #2619
(lib/grandpa): verify justification hash relates to block being justified #2619
Conversation
11338a9
to
594c367
Compare
Codecov Report
@@ Coverage Diff @@
## development #2619 +/- ##
===============================================
- Coverage 61.97% 61.95% -0.03%
===============================================
Files 215 215
Lines 28453 28492 +39
===============================================
+ Hits 17634 17651 +17
- Misses 9067 9087 +20
- Partials 1752 1754 +2
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Co-authored-by: Quentin McGaw <quentin.mcgaw@gmail.com>
🎉 This PR is included in version 0.7.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Changes
justification commit hash
is equal the given header hash in the methodVerifyBlockJustification(hash common.Hash, justification []byte)
Tests
go test github.com/ChainSafe/gossamer/lib/grandpa
Issues
VerifyBlockJustification()
Does Not Verify Justification Hash Relates to Block Being Justified (GSR-17) #2414Primary Reviewer
@timwu20