Commit Graph

2903 Commits

Author SHA1 Message Date
protolambda c11f963bc9
cleanup generator code, use helper pkg to load and generate test cases with 2019-05-23 15:16:59 +02:00
protolambda 754d972108
implement epoch processing test-gen, bugfix tests 2019-05-23 15:13:37 +02:00
protolambda e218c4f61c
update operations readme, fix wording 2019-05-23 11:23:03 +02:00
protolambda 6cd681e952
update docs on operation testing 2019-05-23 11:22:10 +02:00
Age Manning ae6d30fd62
Update with discv5 2019-05-23 11:48:04 +10:00
Danny Ryan e509015191
Merge pull request #1055 from ethereum/fix-deposit-forkv
Fix deposit domain
2019-05-22 16:54:57 -04:00
Danny Ryan c13421a9a7
type hinting for fork version
Co-Authored-By: Hsiao-Wei Wang <hwwang156@gmail.com>
2019-05-22 16:52:44 -04:00
Danny Ryan 43bb64ea1e
Merge pull request #1102 from ethereum/tests-with-sigs
Tests with signatures, fixes #1074
2019-05-22 16:41:37 -04:00
protolambda 958f71bb68
minor underflow fix for proposer slashing test 2019-05-22 21:03:46 +02:00
protolambda 58fd712607
fix style issue with deposit processing helper 2019-05-22 20:50:18 +02:00
Carl Beekhuizen 271f615873
Dramatically speed up tests 2019-05-22 12:40:57 +02:00
Carl Beekhuizen 9058647b67
flake8v3.7->flake8v3.5 2019-05-22 10:28:03 +02:00
Danny Ryan dad89ae926
minor lint 2019-05-21 23:20:12 -06:00
Danny Ryan 2c79e584c2
minor lint 2019-05-21 22:42:47 -06:00
protolambda 7d3147d418
add inconsistent bitfields test 2019-05-22 04:19:54 +02:00
protolambda 6b5f4b44ea
avoid zero constant for deposits fork-version, just default to it 2019-05-22 01:39:20 +02:00
protolambda a4363ba096
tests for invalid signatures 2019-05-22 00:52:57 +02:00
protolambda b919d08ab2
comment on the deposit signature being soft-rejected 2019-05-22 00:07:52 +02:00
protolambda 12af078a6c
make decorators return wrapped fn results properly 2019-05-21 23:03:59 +02:00
protolambda 6b3b5121f2
fix header format of operations tests 2019-05-21 22:59:47 +02:00
protolambda 0e136b1104
update yaml and eth-utils dependencies 2019-05-21 22:55:22 +02:00
protolambda f1ba5aadce
make test generator use BLS 2019-05-21 22:55:02 +02:00
protolambda 8303c58aa4
bugfix, make BLS wrapper propagate test output properly 2019-05-21 22:53:46 +02:00
protolambda cfc037fe75
tags applied after generation of vector (and only if), make BLS decorator 2019-05-21 22:28:47 +02:00
protolambda ee9c1d911f
test tagging pattern 2019-05-21 21:51:28 +02:00
protolambda 4d08e9d7d6
signed block header 2019-05-21 21:22:32 +02:00
Danny Ryan 4ce441c4a4
minor fix to how eth1 data is counted in validator guide 2019-05-21 12:54:38 -06:00
Danny Ryan b075a7a0ab
add bls_domain to toc 2019-05-21 11:33:52 -06:00
Danny Ryan 847fcf52cc
utilize bls_domain directly for deposits 2019-05-21 11:30:38 -06:00
Danny Ryan 7a9097ec23
Merge branch 'dev' into fix-deposit-forkv 2019-05-21 11:04:13 -06:00
Danny Ryan e92e5f82de
Merge pull request #1103 from ethereum/JustinDrake-patch-11
Edit BLS spec warning
2019-05-21 08:59:18 -04:00
Carl Beekhuizen 24c4d21d5e
Minor edits + PEP8 2019-05-21 12:41:24 +02:00
Justin 90a3f56e0f
Edit BLS spec warning
Fix #898.
2019-05-21 09:13:57 +01:00
Carl Beekhuizen 6b062405c9
merge dev -> carl-exec-phase1 2019-05-20 20:59:08 +02:00
protolambda ab251d4797
make tests work fast + bls signed optionally 2019-05-20 20:44:54 +02:00
protolambda b0aea2a111
bugfix block proc transfer test 2019-05-20 19:38:18 +02:00
Carl Beekhuizen 65b0701f8c
Helpers depend on spec version and p1 tests work 2019-05-20 18:14:37 +02:00
Carl Beekhuizen b68c471a54
Moves spec to global variable 2019-05-20 17:08:03 +02:00
Danny Ryan c0e15f14cc
Merge pull request #1099 from ethereum/vbuterin-patch-4
Updated get_custody_chunk_count
2019-05-20 09:53:33 -04:00
Danny Ryan 14c4d63f2a
Merge pull request #1097 from ethereum/vbuterin-patch-3
Crosslinks store start and end epoch
2019-05-20 09:53:24 -04:00
Carl Beekhuizen fac9f6c91d
Automatic SSZ dependancy Ordering! 2019-05-20 14:00:54 +02:00
Carl Beekhuizen c954687f58
Corrects combination of ssz objects 2019-05-20 11:27:41 +02:00
Hsiao-Wei Wang 83123a33da
Set genesis_state.latest_block_header with `body_root` of empty BeaconBlockBody (#1098) 2019-05-20 17:16:20 +08:00
Carl Beekhuizen cfed4bb41c
Adds missing functions 2019-05-20 10:50:07 +02:00
Justin 2018dd83f5
Update 1_custody-game.md 2019-05-20 09:29:09 +01:00
Carl Beekhuizen 725dcf27f5
Hella bug-fixes and PEP8 2019-05-20 09:47:44 +02:00
Luke Anderson 8e67dec7e4
Fixed misinterpretation of the proof array in the Deposit object, bumped version. 2019-05-20 16:43:21 +10:00
Luke Anderson 490cf9e347
Updated version number to reflect small changes. 2019-05-20 13:56:25 +10:00
Luke Anderson 73c9d126de
Updated API spec with suggestions by @hwwhww.
- Corrected to use American English instead of Australian
 - Fixed spelling mistake with indices
 - Changed tag to 'MinimalSet' and 'OptionalSet'
 - Added a  response to the list of components
 - Renamed 'block_production' to 'block_proposal'
2019-05-20 13:49:06 +10:00
Hsiao-Wei Wang a68aa82b89
Update validator guide 2019-05-20 11:39:13 +08:00