-
Notifications
You must be signed in to change notification settings - Fork 80
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
core: enable ssz encoding in protos #2286
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #2286 +/- ##
==========================================
- Coverage 53.81% 53.76% -0.05%
==========================================
Files 190 190
Lines 25628 25628
==========================================
- Hits 13792 13780 -12
- Misses 10150 10164 +14
+ Partials 1686 1684 -2
☔ View full report in Codecov by Sentry. |
core/ssz_test.go
Outdated
if disabledSSZ { | ||
sszSizes[fmt.Sprintf("%T", signedPtr)] = len(b) | ||
} else { | ||
jsonSizes[fmt.Sprintf("%T", signedPtr)] = len(b) |
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.
Shouldn't this be?:
if disabledSSZ { | |
sszSizes[fmt.Sprintf("%T", signedPtr)] = len(b) | |
} else { | |
jsonSizes[fmt.Sprintf("%T", signedPtr)] = len(b) | |
if disabledSSZ { | |
jsonSizes[fmt.Sprintf("%T", signedPtr)] = len(b) | |
} else { | |
sszSizes[fmt.Sprintf("%T", signedPtr)] = len(b) |
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.
cheers thanks fixed
Enables SSZ encoding in protos by default. This decreases wire bandwitdh requirements.
category: feature
ticket: #2203