Commit Graph

94 Commits

Author SHA1 Message Date
Carl Beekhuizen
d828bb5de0
Remove auto function detector 2021-02-12 16:20:26 +01:00
Carl Beekhuizen
14130819b6
Adds abilility to swap out text for internationalisation reasons 2021-02-12 16:12:03 +01:00
Carl Beekhuizen
f271d96ad2
chmod keystores and deposit_data.json to 440 2020-12-18 16:54:46 +01:00
Carl Beekhuizen
c681f93331
version bump -> v1.1.0 2020-11-17 17:14:34 +01:00
Hsiao-Wei Wang
e9b0b6605e
Merge pull request #157 from ethereum/hwwhww/pyrmont
Add Prymont + Add `eth2_network_name` field to deposit_data*.json file
2020-11-13 21:23:55 +08:00
Hsiao-Wei Wang
bbbc81cf2e
Use the updated PyrmontSetting.GENESIS_FORK_VERSION 2020-11-13 21:17:42 +08:00
Hsiao-Wei Wang
4cbd6d4017
Merge pull request #147 from maxwellt/dev
fix typo
2020-11-13 01:29:57 +08:00
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
Hsiao-Wei Wang
b6f7ca93c3
Fix 2020-11-05 17:13:32 +08:00
vbuterin
59a12e927e
Fixed saving the path 2020-11-05 14:35:25 +08:00
vbuterin
0bfb657894
Proposed tweak to from_json and from_file
This feels to me like it would be more intuitive behavior; the `from_json` behaves the same way for Keystore and KeystoreCrypto, and it exposes a way for people to use the library with json that is not saved in a file anywhere.
2020-11-05 14:34:01 +08:00
Thomas Maxwell
056d6b27e6 fix typo 2020-11-04 02:35:36 +01: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