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

Use FastSSZ Everywhere Applicable #6135

Merged
merged 11 commits into from Jun 5, 2020
Merged

Use FastSSZ Everywhere Applicable #6135

merged 11 commits into from Jun 5, 2020

Conversation

rauljordan
Copy link
Contributor

What type of PR is this?

Other

What does this PR do? Why is it needed?

Currently, we utilize a git patch applied at Bazel runtime to change all instances of ssz.Marshal and Unmarshal to utilize ferranbt's Fast SSZ. This is a huge security hole for people running Prysm with pure Go. This PR favors usage of fastssz everywhere and removes the patch used by Bazel.

Which issues(s) does this PR fix?

Fixes #6116

@rauljordan rauljordan marked this pull request as ready for review June 4, 2020 21:51
@rauljordan rauljordan requested a review from a team as a code owner June 4, 2020 21:51
beacon-chain/p2p/fork.go Outdated Show resolved Hide resolved
tools/bootnode/bootnode.go Outdated Show resolved Hide resolved
@codecov
Copy link

codecov bot commented Jun 4, 2020

Codecov Report

Merging #6135 into master will decrease coverage by 0.04%.
The diff coverage is 63.15%.

@@            Coverage Diff             @@
##           master    #6135      +/-   ##
==========================================
- Coverage   59.80%   59.76%   -0.05%     
==========================================
  Files         323      323              
  Lines       27386    27379       -7     
==========================================
- Hits        16378    16362      -16     
- Misses       8789     8798       +9     
  Partials     2219     2219              

@rauljordan rauljordan added OK to merge Ready For Review A pull request ready for code review labels Jun 5, 2020
@prylabs-bulldozer prylabs-bulldozer bot merged commit 302b0f8 into master Jun 5, 2020
@delete-merged-branch delete-merged-branch bot deleted the use-fastssz branch June 5, 2020 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ready For Review A pull request ready for code review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use Ferran's Generated SSZ Instead of Generic SSZ, Remove Bazel Passthrough
3 participants