Commit Graph

2936 Commits

Author SHA1 Message Date
protolambda ed4416ba34
update SSZ implementation 2019-05-25 00:05:03 +02:00
Luke Anderson edf0b9d05f
Addressed some of @djrtwo's suggestions.
- Rewording of specification goal paragraph
 - Clarify get duties description regarding chain reorgs.
 - Add epoch parameter to get duties, and new error 406
 - Block publishing action is clarified around validation, with a new status code 202
 - The validator pubkey and PoC bit are passed to produce attestation
 - Attestation publishing action is clarified around validation, new status code 202
 - Rewording of genesis_time, 'block' -> 'slot'
 - Update Crosslink to latest spec
 - Added missing signature field to IndexedAttestation
2019-05-25 07:59:35 +10:00
Justin d805fb5084
Simplify deposits 2019-05-25 00:35:17 +03:00
Danny Ryan c3de576c8f
Merge pull request #1121 from ralexstokes/v06x
update version used in test generators to get SHA-256 hash
2019-05-24 13:07:38 -06:00
Alex Stokes cff9c7fe67
update version used in test generators to get SHA-256 hash 2019-05-24 11:05:07 -07:00
Danny Ryan 28b76bcd4c
a number of minor fixes in phsae 1 2019-05-24 11:59:22 -06:00
Danny Ryan b0a3b436e3
Merge pull request #1117 from ralexstokes/update-py-ecc-version
update version used in test generators to get SHA-256 hash
2019-05-24 11:33:23 -06:00
Danny Ryan 3539e608f7
Merge pull request #1118 from AgeManning/typo-fixes
Fix typo in libp2p-standardization
2019-05-24 10:46:24 -06:00
protolambda e9a01a276d
epoch processing formatting 2019-05-24 18:39:12 +02:00
protolambda b12031b48d
not signed by default 2019-05-24 18:38:51 +02:00
Diederik Loerakker b6b5787931
Update specs/test_formats/epoch_processing/README.md
Co-Authored-By: Hsiao-Wei Wang <hwwang156@gmail.com>
2019-05-24 12:24:42 -04:00
Carl Beekhuizen ac9564c2b7
Adds Insert-into-label functionality 2019-05-24 16:51:21 +02:00
protolambda 321baf79f4
fix missing imports from earlier code suggestion 2019-05-24 15:03:03 +02:00
protolambda 73f0f74fb0
run process yield-from test pattern 2019-05-24 14:58:06 +02:00
Carl Beekhuizen d41bc67ec8
merge dev -> dankrad-patch-7 2019-05-24 14:56:10 +02:00
Diederik Loerakker f2e3cd01aa
Update test_libs/pyspec/eth2spec/test/epoch_processing/test_process_crosslinks.py
Co-Authored-By: Danny Ryan <dannyjryan@gmail.com>
2019-05-24 08:34:14 -04:00
Diederik Loerakker 4690bcf682
Update specs/test_formats/operations/README.md
Co-Authored-By: Danny Ryan <dannyjryan@gmail.com>
2019-05-24 08:33:06 -04:00
Diederik Loerakker f52b2282b3
Update specs/test_formats/operations/README.md
Co-Authored-By: Danny Ryan <dannyjryan@gmail.com>
2019-05-24 08:32:54 -04:00
Age Manning 2cd188358b
Fix typo in libp2p-standardization 2019-05-24 21:24:35 +10:00
protolambda 57dd9fc4ff
fix syntax 2019-05-24 01:15:49 +02:00
protolambda 4ccd304603
docs for sanity tests 2019-05-24 01:03:21 +02:00
protolambda 902059d6d8
fix operations readme 2019-05-24 00:13:49 +02:00
Alex Stokes 32f97a1c80
update version used in test generators to get SHA-256 hash 2019-05-23 15:12:29 -07:00
protolambda f98a8d534e
update epoch processing tests to conform to processing pattern, add docs for epoch sub-transition testing 2019-05-23 23:50:58 +02:00
protolambda 21c48b574f
move sanity tests, separate slot tests 2019-05-23 23:32:21 +02:00
protolambda 1bbab9aa00
more direct in what is happening in test utils 2019-05-23 22:28:11 +02:00
protolambda f0c9e7a395
ignore just the one crosslinks case that is incompatible with mainnet 2019-05-23 22:26:36 +02:00
Hsiao-Wei Wang 0f7abfa4ce
Update specs/core/1_custody-game.md
Co-Authored-By: Carl Beekhuizen <carl.beek@gmail.com>
2019-05-24 02:54:41 +08:00
Hsiao-Wei Wang 650c4244bd
Things are different after rebasing #1035 2019-05-24 01:35:51 +08:00
Danny Ryan 7b30c55cd4
minor copy edits to vc api 2019-05-23 13:10:34 -04:00
Danny Ryan 3500bde594
only sign in test_double_late_crosslink when necessary 2019-05-23 11:01:07 -06:00
Danny Ryan 72e12679ae
Merge pull request #935 from AgeManning/libp2p
Add initial libp2p standardization
2019-05-23 09:33:55 -06:00
protolambda e1b04f4926
sanity tests generator 2019-05-23 15:53:11 +02:00
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