Commit Graph

39 Commits

Author SHA1 Message Date
protolambda
96d4516889 fix forkchoice tests: fix test decorators, fix block state roots, clean up some logic 2019-10-28 09:35:19 +01:00
Danny Ryan
6570340e04 Merge branch 'master' into master-to-dev 2019-10-28 15:27:41 +09:00
protolambda
0cc50725ed py docs fixes 2019-10-24 15:31:43 +08:00
protolambda
e8a3eac55e cleanup code duplication, and build new context util for state customization 2019-10-23 17:03:18 +08:00
Danny Ryan
667bf67d71 temporarily disable phase 1 tests 2019-10-12 13:24:17 +09: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
82d41db1b4 Test case for get_beacon_proposer_index(), loop with multiple iterations. 2019-10-07 13:54:35 +03:00
Danny Ryan
82faaf101d fix tests 2019-08-27 09:38:20 -06:00
Danny Ryan
d0b4dc2b01 remove bad length checks from process attestation; ensure committee count and committee size not equal 2019-08-27 09:16:02 -06:00
Martin Lundfall
62d37593fb Correct various typos 2019-08-19 13:05:44 +02:00
protolambda
8a83fce3ab fixes to decorator order, and make functions fully yield, with pytest compat. 2019-07-26 23:53:03 +02:00
protolambda
e8b3f9985b update testgen, make epoch proc work 2019-07-26 22:40:49 +02:00
protolambda
69052ac750 Update testgen code, and if force is not on, test generation won't run if it already exists. 2019-07-26 19:19:36 +02:00
Hsiao-Wei Wang
24ad42663f spectest_with_bls_switch decorator 2019-06-21 22:02:03 -06:00
Danny Ryan
94d4e3a944 operations suite generator for phase0 2019-06-10 20:05:43 -06:00
Danny Ryan
c4bf772d30 demo phase restricted generators for epoch processing 2019-06-10 17:26:39 -06:00
Carl Beekhuizen
67471a8d6e Rework of phases decorator 2019-06-06 23:30:40 +02:00
Carl Beekhuizen
956c476d81 Move over to parameterised decorators for phases 2019-06-06 16:23:30 +02:00
Carl Beekhuizen
60d9dc68c4 Apply suggestions from @djrtwo's code review 2019-06-05 21:49:30 +02:00
Carl Beekhuizen
c06a60c95a Fix descriptions
Co-Authored-By: Hsiao-Wei Wang <hwwang156@gmail.com>
2019-06-04 15:37:08 +02:00
Carl Beekhuizen
92916e5383 Tests run with both spec versions 2019-05-31 13:08:42 +02:00
Carl Beekhuizen
0c57cfcaa7 state builds from spec version 2019-05-31 11:33:47 +02:00
Carl Beekhuizen
ed71efc061 state is kwarg 2019-05-31 10:41:39 +02:00
Carl Beekhuizen
5155bc6c4f Makes everything pass around 2019-05-30 22:57:18 +02:00
protolambda
6ffd41650b suggestion from hww, reduce into one bls_setting key 2019-05-28 15:35:00 +02:00
protolambda
12af078a6c make decorators return wrapped fn results properly 2019-05-21 23:03:59 +02:00
protolambda
8303c58aa4 bugfix, make BLS wrapper propagate test output properly 2019-05-21 22:53:46 +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
protolambda
b0aea2a111 bugfix block proc transfer test 2019-05-20 19:38:18 +02:00
protolambda
0f00b43698 reduce validator key count again, fix valid attestation creation - snippet from Danny 2019-05-17 21:26:18 +02:00
protolambda
f937dec2a1 more keys, more validators, fix import 2019-05-17 20:54:34 +02:00
protolambda
62999d8ded import fixes + fix import loop + fix minor signing things 2019-05-17 20:31:21 +02:00
protolambda
ce4daea201 Merge branch 'bls-test-deco' into tests-with-sigs 2019-05-15 17:41:04 +02:00
protolambda
904e2e9c0c BLS on/off deco 2019-05-13 23:15:02 +02:00
protolambda
4f3f68bc12 signatures in tests, most block-ops updated, still many to go 2019-05-11 21:31:37 +02:00
protolambda
a39623a95a fix test tooling bug 2019-05-11 17:51:02 +02:00
protolambda
3189cf0079 new proposer slashing tests
Co-Authored-By: jannikluhn <jannik@brainbot.com>
2019-05-11 17:01:12 +02:00
protolambda
d9baee2481 move tests to standard pkg/test folder, enable conftest options with soft-import, update readme and makefile 2019-05-08 18:14:47 +02:00