-
Notifications
You must be signed in to change notification settings - Fork 188
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
Add nil hash validation #2296
base: main
Are you sure you want to change the base?
Add nil hash validation #2296
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2296 +/- ##
==========================================
- Coverage 74.54% 74.53% -0.02%
==========================================
Files 111 111
Lines 12792 12792
==========================================
- Hits 9536 9534 -2
- Misses 2536 2538 +2
Partials 720 720 ☔ View full report in Codecov by Sentry. |
7282cbe
to
0e92093
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
ac9e228
to
fac578b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What does using buf
in this PR is improving over not using buf?
Would adding buf means an extra dependency to compile Juno successfully or just for development? Should the use of buf
be documented somewhere as dependency?
Some questions, trying to understand the code base
Because we need to
This is for development only. |
fac578b
to
2eeb323
Compare
56d5310
to
f337a02
Compare
f337a02
to
5b17ac1
Compare
5b17ac1
to
da2677d
Compare
Fix #2239
Continue #2290
Protocol Buffer Validation:
p2p/spec/common.proto
: Added import forbuf/validate/validate.proto
and added a required field validation tomessage Hash
. [1] [2]p2p/sync/client.go
: Integratedprotovalidate
for validating protocol buffer messages in therequestAndReceiveStream
function. [1] [2] [3]