Commit Graph

3623 Commits

Author SHA1 Message Date
Diederik Loerakker 5b94250bf0
Merge pull request #1426 from gnattishness/update-config-helper-reqs
Update config_helper dependencies.
2019-10-24 15:45:53 +08:00
Danny Ryan 07e86ea074
Merge pull request #1442 from ethereum/k-cov-improv
Tests based on K cov from #1420, updated to get into v08x before release.
2019-10-24 15:35:49 +08:00
protolambda 0cc50725ed
py docs fixes 2019-10-24 15:31:43 +08:00
Danny Ryan b2ad6069d4
minor nitpick to PR 2019-10-24 14:55:56 +08:00
gnattishness 691c25ab38
Update config_helper requirements.
Fixes build errors for python 3.8.
2019-10-24 09:32:57 +11:00
protolambda 473c42b994
temporarily disable a few mainnet tests in generator; too long 2019-10-24 00:44:00 +08:00
protolambda 9deda149da
fix list lookup 2019-10-24 00:00:27 +08:00
protolambda e8a3eac55e
cleanup code duplication, and build new context util for state customization 2019-10-23 17:03:18 +08:00
Denis Bogdanas baded82247 test for process_rewards_and_penalties: Case when some eligible attestations are slashed. Modifies attesting_balance and consequently rewards/penalties. 2019-10-07 13:54:35 +03:00
Denis Bogdanas 1a65570c9b test_process_rewards_and_penalties.py: test for case when eligible_validator_indices in get_attestation_deltas() != state.validators. In this test some validators were just never active. 2019-10-07 13:54:35 +03:00
Denis Bogdanas c108d1a356 test for initialize_beacon_state_from_eth1, case when some small deposits don't contribute to active balance. 2019-10-07 13:54:35 +03:00
Denis Bogdanas 82d41db1b4 Test case for get_beacon_proposer_index(), loop with multiple iterations. 2019-10-07 13:54:35 +03:00
Denis Bogdanas f47e023bf0 Test case for get_matching_target_attestations() with some real filtering going on
on line `if a.data.target.root == get_block_root(state, epoch)`.

Discovered by K coverage tool.
2019-10-07 13:54:35 +03:00
Denis Bogdanas d50ffa5f3e Added generator for rewards_and_penalties 2019-10-07 13:54:35 +03:00
Danny Ryan b0dd7c38dc
Merge pull request #1411 from ethereum/interop-tests
Interop tests
2019-09-26 09:11:18 -06:00
protolambda 525d733033
rewards testing now with cleaner attestation signing 2019-09-24 13:56:29 +09:00
protolambda a6e543fd37
just signing, attestations are already filled by get_valid_attestation 2019-09-24 12:24:45 +09:00
Danny Ryan 1688721554
fix up attesation reward tests 2019-09-22 09:54:17 -05:00
Danny Ryan 1aa12034e5
make full_attestation reward test better 2019-09-22 09:51:12 -05:00
Danny Ryan cf1323b79e
add rewards/penalties test for full epoch of attestations 2019-09-22 09:35:18 -05:00
Danny Ryan b3f7dd9dae
fix up rewards/penalties test signatures 2019-09-20 16:05:10 -05:00
Danny Ryan ad4da4cd14
rewards test for duplicate attestation 2019-09-20 12:45:46 -05:00
Danny Ryan 687b262f0d
add test case for crosslink tie breaking between epochs 2019-09-20 11:27:42 -05:00
Danny Ryan 759d8f447e
Merge pull request #1404 from AgeManning/network-spec-update
Network specification update
2019-09-17 10:00:57 -05:00
Danny Ryan 4b2596dbad
ensure BeaconBlocksByRoot requests are lists rather than containers 2019-09-16 08:59:04 -05:00
Age Manning 8bb9354e65
Renames REQ_RESP_MAX_SIZE to MAX_CHUNK_SIZE 2019-09-13 02:20:59 +10:00
Age Manning 9fa720b994
Removes a max chunk count and corrects timeout for chunked responses 2019-09-11 23:23:14 +10:00
Age Manning 4a7d8a4e48
Applies github suggestions 2019-09-11 06:06:22 +10:00
Danny Ryan d0c6b6719f
Merge pull request #1405 from ethereum/bls_tests_name_length
fix BLS tests name length
2019-09-10 12:08:37 -06:00
Danny Ryan 3ead898109
p2p spec copy cleanups 2019-09-08 15:31:22 -06:00
Danny Ryan b743deb061
cleanup max size vars 2019-09-08 15:03:25 -06:00
Danny Ryan cc12e29b25
cleanup response_chunk refactor 2019-09-08 14:57:53 -06:00
Age Manning acb86e8817
Apply Danny's suggestions 2019-09-09 05:45:42 +10:00
Age Manning 3a79ad5363
Adds chunked responses to the RPC 2019-09-09 05:38:06 +10:00
protolambda 28da0a07b8
fix BLS tests name length 2019-09-08 14:36:09 -04:00
Age Manning 4937fa9b58
Network specification update 2019-09-08 22:55:55 +10:00
Danny Ryan db34ee17b6
fix minor testing bug 2019-08-23 11:31:20 -06:00
Danny Ryan af303244e7
Merge pull request #1375 from ethereum/v08x
Release v0.8.3 to master
2019-08-23 10:48:46 -06:00
Danny Ryan 3d97160098
Update specs/networking/p2p-interface.md
Co-Authored-By: Diederik Loerakker <proto@protolambda.com>
2019-08-23 18:33:18 +02:00
Danny Ryan 0547d0ce67
add note on local aggregation for interop 2019-08-23 18:33:18 +02:00
protolambda 4283c8cb03
Fix ssz-generic bitvector tests: those invalid cases of higher length than type describes, but same byte size, should have at least 1 bit set in the overflow to be invalid 2019-08-23 18:33:18 +02:00
Danny Ryan f62aedec31
minor formatting 2019-08-23 18:33:18 +02:00
Age Manning 194f292348
Minor corrections and clarifications to the network specification 2019-08-23 18:33:18 +02:00
JSON dee70df3a9
doc standardization for networking spec (#1338)
* Update p2p-interface.md

* Update p2p-interface.md

* Update p2p-interface.md

* Update specs/networking/p2p-interface.md

Co-Authored-By: Hsiao-Wei Wang <hwwang156@gmail.com>

* Update specs/networking/p2p-interface.md

Co-Authored-By: Hsiao-Wei Wang <hwwang156@gmail.com>

* Update specs/networking/p2p-interface.md

Co-Authored-By: Hsiao-Wei Wang <hwwang156@gmail.com>

* Update specs/networking/p2p-interface.md

Co-Authored-By: Hsiao-Wei Wang <hwwang156@gmail.com>

* Update specs/networking/p2p-interface.md

Co-Authored-By: Hsiao-Wei Wang <hwwang156@gmail.com>

* Update specs/networking/p2p-interface.md

Co-Authored-By: Hsiao-Wei Wang <hwwang156@gmail.com>

* Update specs/networking/p2p-interface.md

Co-Authored-By: Hsiao-Wei Wang <hwwang156@gmail.com>

* Update specs/networking/p2p-interface.md

Co-Authored-By: Hsiao-Wei Wang <hwwang156@gmail.com>

* Update specs/networking/p2p-interface.md

Co-Authored-By: Hsiao-Wei Wang <hwwang156@gmail.com>

* Update specs/networking/p2p-interface.md

Co-Authored-By: Hsiao-Wei Wang <hwwang156@gmail.com>
2019-08-23 18:33:17 +02:00
Jacek Sieka 94d2368970
discuss length-prefixing pro/con, consider for removal, add link 2019-08-23 18:33:17 +02:00
Jacek Sieka f0ce20b922
cleanups 2019-08-23 18:33:17 +02:00
Jacek Sieka 26ea675f9c
Updates
* constants -> configurations
* constant name updates
* initial validation requirement for attestations
* allow aggregated attestations to be published
* move discv5 down a bit
* additional rationale
2019-08-23 18:33:17 +02:00
Raúl Kripalani d0e1f29beb
apply more editorial suggestions.
Co-Authored-By: Hsiao-Wei Wang <hwwang156@gmail.com>
2019-08-23 18:33:17 +02:00
Raúl Kripalani e147684907
apply editorial suggestions.
Co-Authored-By: Hsiao-Wei Wang <hwwang156@gmail.com>
Co-Authored-By: Preston Van Loon <preston@prysmaticlabs.com>
2019-08-23 18:33:17 +02:00
Raúl Kripalani 26d342e918
fmt. 2019-08-23 18:33:17 +02:00