Carl Beekhuizen
f4d734173d
Adds tests for both new and existing mnemonics via CLI
2020-10-28 19:07:13 +01:00
Carl Beekhuizen
633409c059
Implement @hwwhww's code review suggestions
2020-10-26 17:51:38 +01:00
Carl Beekhuizen
52b36bcdff
Fix indentation error
2020-10-26 17:21:57 +01:00
Carl Beekhuizen
3891cbada5
Apply suggestions from code review
...
Co-authored-by: Hsiao-Wei Wang <hwwang156@gmail.com>
2020-10-21 16:32:25 +02:00
Carl Beekhuizen
4ff9f2a01f
Clarifies the dangers of mnemonic-passwords
2020-10-20 15:51:20 +02:00
Carl Beekhuizen
016d2c9391
merge in dev and resolve conflicts
2020-10-14 17:29:09 +02:00
Carl Beekhuizen
6839782b14
Merge pull request #121 from ethereum/safe_crypto_wrappers
...
Adds parameter safety checks to crypto wrappers
2020-10-01 12:56:49 +02:00
Carl Beekhuizen
b3ab755216
Fix comment typos
2020-10-01 12:24:54 +02:00
Hsiao-Wei Wang
9d9dfd261a
Use pkg_resources
to update DEPOSIT_CLI_VERSION
...
Co-authored-by: Carl Beekhuizen <carl@ethereum.org>
2020-10-01 18:04:50 +08:00
Hsiao-Wei Wang
ed01530a82
Add deposit_cli_version to the deposit_data*.json file
2020-10-01 02:17:10 +08:00
Hsiao-Wei Wang
30097acbcf
Add Zinken setting
2020-09-30 10:00:59 +08:00
Carl Beekhuizen
d3a6f7d589
Pass cli tests
2020-09-29 16:24:18 +02:00
Carl Beekhuizen
c7ec603bce
minor cleanups
2020-09-28 17:20:08 +02:00
Carl Beekhuizen
0fd3c0b189
Break new and existing mnemonics into separate files with generate_keys subcommand
2020-09-28 16:49:37 +02:00
Carl Beekhuizen
389b48f851
Adds parameter safety checks to crypto wrappers
2020-09-24 15:38:39 +02:00
Hsiao-Wei Wang
0b11480726
Merge branch 'dev' into eip2333_blsv4
2020-09-22 15:28:02 +08:00
Carl Beekhuizen
7733be10f2
Merge pull request #107 from ethereum/json_int_bound
...
Verifies deposit_data.json amounts ∈ [1, 32] ETH
2020-09-21 20:25:36 +02:00
Hsiao-Wei Wang
dff423fa99
Add Spadina testnet ( #96 )
...
* Add Spadina testnet
* Update Spadina `GENESIS_FORK_VERSION` to `0x00000002`
Sync with https://github.com/goerli/medalla/pull/46 updates
2020-09-18 17:23:12 +08:00
Carl Beekhuizen
03cf1bbf10
Update to EIP 2333's BLS v4 support
2020-09-17 16:01:34 +02:00
Carl Beekhuizen
77891acbe2
Shorten amount-bound error message
2020-09-17 15:03:34 +02:00
Carl Beekhuizen
8bfdd38aba
Bounds json deposit ammounts correctly
2020-09-17 14:55:15 +02:00
Carl Beekhuizen
bc51a32eee
Verify amount upper & lower bounds
2020-09-17 12:47:37 +02:00
Carl Beekhuizen
5e3300d387
Verify deposit_data.json amounts within [1, 32] ETH
2020-09-16 22:38:44 +02:00
Hsiao-Wei Wang
f6dc059a8e
Replace assert
with raising exceptions
2020-09-14 22:49:36 +08:00
Carl Beekhuizen
f3150297f6
Clarify mnemonic passowrds
2020-08-24 16:32:54 +02:00
Carl Beekhuizen
4542faca87
Apply Hww's suggestions (mostly "Returns" -> "Return")
...
Co-authored-by: Hsiao-Wei Wang <hwwang156@gmail.com>
2020-08-24 16:29:42 +02:00
Carl Beekhuizen
f247b1b613
Enhances docstrings to clarify function purposes
2020-08-24 16:01:48 +02:00
Carl Beekhuizen
0e172661a8
Creates new_mnemonic cli options
2020-08-24 13:55:06 +02:00
Carl Beekhuizen
1e9f50f3fd
Adds language detection and verification of mnemonics
2020-08-23 18:04:47 +02:00
Hsiao-Wei Wang
f9fd7a169c
Add network (chain) name selection to prompt
2020-07-28 00:32:40 +08:00
Carl Beekhuizen
5d2671f701
Prerequisites for pyinstaller
2020-07-24 12:24:23 +02:00
Carl Beekhuizen
fbf0906d6e
Merge pull request #48 from ethereum/carl_eip2335_unicode
...
Unicode compliant eip2335
2020-07-23 11:37:30 +02:00
Hsiao-Wei Wang
cbad006886
Merge pull request #55 from ethereum/medalla_chain_config
...
Medalla chain support
2020-07-23 16:38:40 +08:00
Carl Beekhuizen
21547b6d38
Medalla chain support
2020-07-23 10:01:15 +02:00
Carl Beekhuizen
f70b143022
Linting fixes
2020-07-21 10:31:41 +02:00
Carl Beekhuizen
c6401c8e7b
Groups credential properties together
2020-07-21 10:25:33 +02:00
Carl Beekhuizen
ef0ad43216
Moves deposit datum dict from credential list to credential
2020-07-21 10:24:15 +02:00
Carl Beekhuizen
a13294741f
Adds description field to keystores
2020-07-09 15:59:03 +02:00
Carl Beekhuizen
353c40215f
Merge branch 'dev' into carl_eip2335_unicode
...
* dev: (22 commits)
Remove BLS incompatability warning
Adds preproduction warning
Adds typing & Moves global variables into pytest function args
Linting fixes
Test key_info != b''
import pytest into test_tree
Apply suggestions from @hwwhww's code review
Fix lint
Add Altona setting
Remove extra newline (lint)
Update tests for new EIP2333 (bls v2 compliant HKDF_mod_r)
Rename json file fields
Create uuid at execution time instead of class attribute
Add uuid test
Fix key path
Add Witti
gitignore dist/
Revert to DepositMessage & DepositData as per spec
Add fork_version
adds build/ to .gitignore
...
2020-07-06 21:19:07 +02:00
Hsiao-Wei Wang
06e6838699
Merge pull request #44 from ethereum/hwwhww/altona
...
Add Altona setting
2020-06-30 21:49:02 +08:00
Carl Beekhuizen
7ffe1edacd
Merge pull request #41 from ethereum/carl_eip2333_blsv2
...
Update tests for new EIP2333 (bls v2 compliant HKDF_mod_r)
2020-06-29 17:01:14 +02:00
Carl Beekhuizen
9557f3cabb
Apply suggestions from @hwwhww's code review
...
* Tests are of type none.
* Parameters passed in to tests instead of using global variables
* remove debugging print left in
Co-authored-by: Hsiao-Wei Wang <hwwang156@gmail.com>
2020-06-29 11:48:59 +02:00
Carl Beekhuizen
39703588d7
Unicode support keystore passwords
2020-06-26 16:10:19 +02:00
Hsiao-Wei Wang
636825394d
Fix lint
2020-06-25 11:42:03 +08:00
Hsiao-Wei Wang
4dcaa1caa0
Merge branch 'master' into dev
2020-06-25 11:36:53 +08:00
Hsiao-Wei Wang
0c51422281
Add Altona setting
2020-06-25 11:23:00 +08:00
Carl Beekhuizen
6de81195ae
Update tests for new EIP2333 (bls v2 compliant HKDF_mod_r)
2020-06-19 16:33:46 +02:00
Hsiao-Wei Wang
dbac6d236b
Rename json file fields
...
1. `deposit_data_root` -> `deposit_message_root`
2. `signed_deposit_data_root` -> `deposit_data_root`
2020-06-02 20:19:52 +08:00
Hsiao-Wei Wang
a784a73cdd
Merge branch 'master' into hwwhww/fork_version
2020-05-27 14:58:01 +08:00
Carl Beekhuizen
1f6f63bce3
Merge pull request #28 from ethereum/carl_CredentialList
...
CredentialList class
2020-05-26 16:25:47 +02:00