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

Add HeadGenesisValidatorRoot for DomainData #5582

Merged
merged 6 commits into from
Apr 23, 2020

Conversation

terencechain
Copy link
Member

@terencechain terencechain commented Apr 22, 2020

Part of #5512

It is wasteful to copy the entire state just for genesis validator root.. (1.3GB 😱) 👇

Screen Shot 2020-04-22 at 12 29 46 PM

Change list:

  • Added getter HeadGenesisValidatorRoot to HeadFetcher interface
  • Used HeadGenesisValidatorRoot for RPC call DomainData instead of using HeadState

@terencechain terencechain added Enhancement New feature or request Ready For Review A pull request ready for code review labels Apr 22, 2020
@terencechain terencechain requested a review from a team as a code owner April 22, 2020 20:58
@terencechain terencechain self-assigned this Apr 22, 2020
@codecov
Copy link

codecov bot commented Apr 22, 2020

Codecov Report

Merging #5582 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #5582   +/-   ##
=======================================
  Coverage   39.41%   39.41%           
=======================================
  Files         239      239           
  Lines       20643    20643           
=======================================
  Hits         8136     8136           
  Misses      10978    10978           
  Partials     1529     1529           

@rauljordan rauljordan merged commit 2f21249 into master Apr 23, 2020
@delete-merged-branch delete-merged-branch bot deleted the head-genesis-validator-root branch April 23, 2020 03:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request Ready For Review A pull request ready for code review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants