Commit Graph

9 Commits

Author SHA1 Message Date
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
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
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
72f0dd0852
Fix key path 2020-05-26 18:54:18 +08: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
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