Commit Graph

83 Commits

Author SHA1 Message Date
Hsiao-Wei Wang
935588287e
Add eth2_network_name field to deposit_data.json 2020-11-13 00:25:11 +08:00
Hsiao-Wei Wang
289b674a05
Add PyrmontSetting 2020-11-13 00:02:10 +08:00
Carl Beekhuizen
1fad9fdf6e
Bump version number to 1 2020-11-03 21:09:32 +01:00
Carl Beekhuizen
45b23870e2
Merge in dev and resolve conflicts 2020-11-03 20:51:32 +01:00
Carl Beekhuizen
be3acee84d
Adds progress bars to the CLI 2020-11-03 19:42:08 +01:00
Hsiao-Wei Wang
8c642d6889
Fix typo 2020-11-04 02:21:54 +08:00
Carl Beekhuizen
d3149c688a
Update help messages for all CLI arguments and commands 2020-11-03 15:43:18 +01:00
Carl Beekhuizen
29f00891fe
Re-adds password length checks from #138 which were accidentally removed in merge
014e34c
2020-11-03 12:51:23 +01:00
Carl Beekhuizen
741fa62392
Fix CLI index bounds
`type=click.IntRange(0, 2**32)` got corrected to `type=click.IntRange(0, 2**32 - 1)`

Co-authored-by: Hsiao-Wei Wang <hwwang156@gmail.com>
2020-11-03 12:29:47 +01:00
Carl Beekhuizen
014e34ce1b
Merge in dev 2020-11-02 16:59:19 +01:00
Carl Beekhuizen
f4d734173d
Adds tests for both new and existing mnemonics via CLI 2020-10-28 19:07:13 +01:00
Hsiao-Wei Wang
076469a531
Add password length validation - take 2 (#138)
* [WIP] Add password length validation

* Workaround: use click callback function

* Minor rewording
2020-10-27 14:05:12 +08: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
2a4271e35c
Bump version number for hotfix release 2020-10-01 15:51:13 +02:00
Carl Beekhuizen
da455f9d67
HOTFIX: Hardcode version number for binary builds 2020-10-01 15:30:01 +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