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
9d2008eb4e
Remove extra newline (lint)
2020-06-19 16:45:00 +02:00
Carl Beekhuizen
6de81195ae
Update tests for new EIP2333 (bls v2 compliant HKDF_mod_r)
2020-06-19 16:33:46 +02:00
Carl Beekhuizen
4f481012d4
Merge pull request #35 from ethereum/hwwhww/bls_v0120_dev
...
Bump py_ecc to 4.0.0 (Eth2 spec v0.12.0, IETF BLS v2 + hash-to-curve v7)
2020-05-26 10:10:34 +02:00
Hsiao-Wei Wang
5fea96e8f7
Bump py_ecc to 4.0.0 (Eth2 spec v0.12.0, IETF BLS v2 + hash-to-curve v7)
2020-05-26 16:03:32 +08:00
Hsiao-Wei Wang
b3ab5cf0af
Merge pull request #34 from ethereum/revert-33-hwwhww/bls_v0120
...
Revert "Bump py_ecc to 4.0.0"
2020-05-26 16:00:48 +08:00
Hsiao-Wei Wang
0258ea7d67
Revert "Bump py_ecc to 4.0.0"
2020-05-26 15:58:11 +08:00
Hsiao-Wei Wang
c612662215
Merge pull request #33 from ethereum/hwwhww/bls_v0120
...
Bump py_ecc to 4.0.0
2020-05-26 14:59:41 +08:00
Hsiao-Wei Wang
20c1f43a50
Bump py_ecc to 4.0.0 (Eth2 spec v0.12.0, IETF BLS v2 + hash-to-curve v7)
2020-05-24 00:52:54 +08:00
Hsiao-Wei Wang
2359a9d033
Merge pull request #18 from ethereum/hwwhww/tox
...
Add tox.ini and Python3.7 & 3.8 testenv
2020-05-23 22:38:25 +08:00
Hsiao-Wei Wang
f94ce0108c
Fix lint setting
2020-05-23 22:35:22 +08:00
Hsiao-Wei Wang
dd390b6463
Merge branch 'master' into hwwhww/tox
2020-05-23 22:32:31 +08:00
Hsiao-Wei Wang
4befd86d85
Update README
...
Update README
1. Remove `--password`
2. Update arguments table: change "Optional" to "Type"
2020-05-23 22:28:41 +08:00
Hsiao-Wei Wang
41dd53c20b
Fix tox and windows tests
2020-05-23 22:28:41 +08:00
Hsiao-Wei Wang
10080093b6
Update script and readme
...
1. deposit.sh two steps: (i) install (ii) run tool
2. Update readme for all known usages
2020-05-23 22:28:41 +08:00
Hsiao-Wei Wang
b105e464c7
Try Windows
...
kick cache
Cache string
2020-05-23 22:28:38 +08:00
Hsiao-Wei Wang
46a5318531
Merge pull request #30 from ethereum/carl_withdrawl_pk_fix
...
Adds BLS_WITHDRAWAL_PREFIX to withdrawal_credentials
2020-05-22 16:54:06 +08:00
Carl Beekhuizen
72f64119b4
Adds BLS_WITHDRAWAL_PREFIX to withdrawal_credentials
2020-05-21 16:10:03 +02:00
Hsiao-Wei Wang
175d4eafa7
Add encoding=utf-8
for mnemonic for Windows ( #24 )
2020-05-20 19:42:27 +08:00
Hsiao-Wei Wang
581485f274
Use more strict mypy setting and update KeystoreModule
type ( #17 )
...
1. [KeystoreModule] change `params: dict` to `params:
Dict[str, Any]`
2. Rename `to_bytes` to `encode_bytes`
2020-05-19 21:34:16 +08:00
Hsiao-Wei Wang
4460c7c261
Fix test_cli.py
folder initialization ( #16 )
2020-05-19 21:32:05 +08:00
Hsiao-Wei Wang
37b9650d19
Add script tests CI jobs
2020-05-12 16:21:16 +08:00
Hsiao-Wei Wang
25c13e7114
Update README.md
2020-05-12 15:44:04 +08:00
Hsiao-Wei Wang
f3cde09ba9
Add script and test
2020-05-12 15:35:56 +08:00
Hsiao-Wei Wang
ecdf73b425
Move cli/deposit.py back to eth2deposit for less confusion
2020-05-12 01:37:13 +08:00
Hsiao-Wei Wang
6d7199a02f
Create tox.ini and add CircleCI jobs
2020-05-11 20:05:12 +08:00
Hsiao-Wei Wang
37fb6de225
Add test_cli ( #14 ) ( #15 )
...
* Add test_cli
* Check folder
2020-05-09 04:11:02 +08:00
Hsiao-Wei Wang
96200d76ae
Package reorg ( #10 )
...
* Move tests to /tests
* Rename `src` to `eth2deposit`
* Fix path
* Fix path and move eth2deposit/utils/credentials.py -> eth2deposit/credentials.py
* Update Makefile
* Kick CI cache
* Fix package setup
* Fix path back
* PR feedback from Carl
2020-05-08 21:34:09 +08:00
Hsiao-Wei Wang
6129418532
Merge pull request #12 from ethereum/ci_setting
...
Add CircleCI
2020-05-08 18:44:10 +08:00
Hsiao-Wei Wang
df39ad1703
Add lint job
...
Update cache key
2020-05-07 15:13:24 +08:00
Hsiao-Wei Wang
779b156e28
Fix typing error
2020-05-07 15:13:09 +08:00
Hsiao-Wei Wang
a9be3b657d
Add a simple CI config
2020-05-07 13:38:16 +08:00
Hsiao-Wei Wang
18363e2d29
Fix Makefile commands
2020-05-07 12:39:04 +08:00
Hsiao-Wei Wang
ef4b1c4cf0
Update mypy package hashes
2020-05-07 12:38:41 +08:00
Carl Beekhuizen
08955c8652
Merge pull request #9 from ethereum/add_unsigned_root
...
Adds unsigned-deposit-root to deposit_data.json
2020-03-13 18:11:08 +01:00
Carl Beekhuizen
942e4d169e
Adds unsigned-deposit-root to deposit_data.json
2020-03-13 18:08:32 +01:00
Carl Beekhuizen
1e49805950
Merge pull request #8 from ethereum/check_py_version
...
Adds Python version checks
2020-03-12 11:09:14 +01:00
Carl Beekhuizen
85ddb1e083
Adds Python version checks
2020-03-10 19:40:19 +01:00
Carl Beekhuizen
bda4de8c82
Merge pull request #7 from ethereum/ascii_art
...
Ascii art
2020-03-09 20:27:23 +01:00
Carl Beekhuizen
3f131b3040
Linting fixes
2020-03-09 20:25:39 +01:00
Carl Beekhuizen
6672f33b60
Adds rhino ascii art
2020-03-09 18:38:45 +01:00
Carl Beekhuizen
448b6d67ef
Merge pull request #6 from ethereum/pip_checksums
...
🔒 Pip package checksums🔒
2020-03-05 10:11:54 +01:00
Carl Beekhuizen
a157de1bd3
Adds hashes to requiremnets.txt
2020-03-05 09:54:13 +01:00
Carl Beekhuizen
bfc31263e3
Adds sha2 checksums to requirements.txt`
2020-03-04 18:38:34 +01:00
Carl Beekhuizen
e3903d13cb
Merge pull request #5 from ethereum/eth2-verification
...
Verification of DepositData && Keystores
2020-02-28 21:10:41 +00:00
Carl Beekhuizen
a83be1f23e
Adds Keystore decryption verification
2020-02-28 21:07:04 +00:00
Carl Beekhuizen
55bd659e72
Update tests
2020-02-28 21:02:11 +00:00
Carl Beekhuizen
d57d08badd
Adds verification of deposits against eth2 rules.
2020-02-28 15:35:52 +00:00
Carl Beekhuizen
f69198970e
Merge pull request #4 from ethereum/rest_of_the_fucking_owl
...
Rest of the fucking owl. Implements interface + signing of deposits + SSZ
2020-02-28 12:04:24 +00:00
Carl Beekhuizen
aadbd1a059
Rest of the fucking owl. Implements interface + signing of deposits + SSZ
2020-02-28 12:02:29 +00:00