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 BeaconBlockHeader in place of BeaconBlock for protecting keymanager #5049

Merged
merged 1 commit into from Mar 9, 2020
Merged

Use BeaconBlockHeader in place of BeaconBlock for protecting keymanager #5049

merged 1 commit into from Mar 9, 2020

Conversation

mcdee
Copy link
Contributor

@mcdee mcdee commented Mar 9, 2020

The protecting keymanager currently sends the entire block as part of its signing call. This is unnecessary, as only the relevant roots are required.

This changes the relevant call from using BeaconBlock to BeaconBlockHeader, reducing the data passed around (especially important if the signer is remote).

@codecov
Copy link

codecov bot commented Mar 9, 2020

Codecov Report

Merging #5049 into master will decrease coverage by 1.53%.
The diff coverage is 11.76%.

@@            Coverage Diff             @@
##           master    #5049      +/-   ##
==========================================
- Coverage   16.56%   15.03%   -1.54%     
==========================================
  Files          99      103       +4     
  Lines        7570     7724     +154     
==========================================
- Hits         1254     1161      -93     
- Misses       6182     6368     +186     
- Partials      134      195      +61

@nisdas nisdas merged commit 0c3af32 into prysmaticlabs:master Mar 9, 2020
@mcdee mcdee deleted the keymanager-reduce-data branch March 9, 2020 13:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants