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

Integrate Accounts v2 Keymanager Into Validator Client #6489

Merged
merged 24 commits into from
Jul 8, 2020

Conversation

rauljordan
Copy link
Contributor

@rauljordan rauljordan commented Jul 4, 2020

What type of PR is this?

Feature

What does this PR do? Why is it needed?

This PR begins integrating --enable-accounts-v2 into the validator client's runtime, allowing for full-featured functionality by using an EIP-2335 direct keystore manager implemented by #6466. This functionality will be gated by a feature flag until all keymanager implementations are complete and the code is deemed production ready.

This PR additionally abstracts functionality of loading an existing keymanager configuration file into the accountsv2.OpenWallet function, cleaning up some old code paths to ensure v2 functionality is simple to access.

Which issues(s) does this PR fix?

Part of #6220

@rauljordan rauljordan self-assigned this Jul 4, 2020
@rauljordan rauljordan marked this pull request as ready for review July 6, 2020 21:28
@rauljordan rauljordan requested a review from a team as a code owner July 6, 2020 21:28
@rauljordan rauljordan added AccountsV2 Ready For Review A pull request ready for code review labels Jul 6, 2020
@codecov
Copy link

codecov bot commented Jul 7, 2020

Codecov Report

Merging #6489 into master will increase coverage by 1.44%.
The diff coverage is 73.15%.

@@            Coverage Diff             @@
##           master    #6489      +/-   ##
==========================================
+ Coverage   60.07%   61.52%   +1.44%     
==========================================
  Files         323      363      +40     
  Lines       27422    28330     +908     
==========================================
+ Hits        16473    17429     +956     
+ Misses       8733     8525     -208     
- Partials     2216     2376     +160     

Copy link
Member

@terencechain terencechain left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we test this run time before merging?

Or at least add EnableAccountsV2 to e2e

Copy link
Member

@terencechain terencechain left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confirmed with @rauljordan, we have tested this run time

@prylabs-bulldozer prylabs-bulldozer bot merged commit fd9003f into master Jul 8, 2020
@delete-merged-branch delete-merged-branch bot deleted the v2-accounts-feature branch July 8, 2020 05:01
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.

None yet

4 participants