-
Notifications
You must be signed in to change notification settings - Fork 738
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
EIP-2386 (draft): Eth2 wallet #1117
Conversation
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.
A couple of minor things but mostly there :)
eth2/utils/eth2_wallet/src/wallet.rs
Outdated
/// | ||
/// - If `wallet_password` is unable to decrypt `self`. | ||
/// - If `keystore_password.is_empty()`. | ||
/// - If `self.nextaccount == u32::max_value() - 1`. |
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.
self.nextaccount == u32::max_value()
?
The checked_add()
would fail when we add 1 to u32::max_value
?
All comments addressed, thank you! |
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.
Happy with the changes :)
Issue Addressed
NA
Proposed Changes
Implements the draft EIP-2386 for an encrypted BLS wallet with support for hierarchical key derivation.
Additional Info
Blocked on EIP-2335: Keystore #1071, EIP-2333: Key derivation #1104TODO
Zeroize
inbip39
.