Alex Stokes
4c73fec88e
convert `LightClientStore` to python object instead of SSZ object
...
this avoids the type overhead of having to define a max size for
the object's data and skips the overhead of serialization/consensus
for a type that does not need it
2021-05-06 10:52:48 -07:00
Diederik Loerakker
488bf2c4a0
Merge pull request #2341 from ethereum/merge-ssz-tests
...
Merge SSZ-static tests
2021-05-04 22:08:17 +02:00
Danny Ryan
053179cee9
comments and tests on altair
2021-05-04 07:39:22 -06:00
Danny Ryan
2628721f96
Merge pull request #2323 from ethereum/prepare_state
...
Simplify Altair "genesis"
2021-04-27 12:32:13 -06:00
Danny Ryan
6031417444
Merge pull request #2301 from ethereum/fix-bouncing-attack-tests
...
Fix bouncing attack tests
2021-04-27 07:51:46 -06:00
Alex Stokes
b0aee5b271
Merge pull request #2346 from ethereum/pyspecdocs
...
update pyspec dev usage docs, improve makefile
2021-04-22 08:30:44 -07:00
Hsiao-Wei Wang
2063c96c80
Merge branch 'dev' into prepare_state
2021-04-21 16:34:29 +08:00
protolambda
c99d72d541
update pyspec dev usage docs, improve makefile
2021-04-21 03:28:22 +02:00
Danny Ryan
1694cdbd02
add always_bls for historical batch sanity test
2021-04-20 13:40:25 -06:00
Hsiao-Wei Wang
66e1a2858f
Use `ALTAIR_FORK_EPOCH` instead of `ALTAIR_FORK_SLOT`
2021-04-21 00:24:44 +08:00
Hsiao-Wei Wang
666f847354
Update specs and test format note.
2021-04-20 23:37:53 +08:00
protolambda
5e8304b4c6
Merge SSZ-static tests
2021-04-20 17:26:11 +02:00
Danny Ryan
c8bbc7dc97
Merge pull request #2334 from ethereum/committee-test
...
add committee progress tests for non genesis case
2021-04-20 08:39:25 -05:00
Danny Ryan
55f2cc6e41
address @ralexstokes PR comments
2021-04-16 11:42:26 -05:00
Danny Ryan
7167c5a9d9
generate sync committee update tests with always_bls
2021-04-16 11:32:27 -05:00
Hsiao-Wei Wang
1961831348
Merge branch 'dev' into prepare_state
2021-04-16 11:36:02 +08:00
Danny Ryan
81a83898cf
add committee progress tests for non genesis case
2021-04-15 12:19:51 -05:00
Hsiao-Wei Wang
26f54d6f22
Remove `CONFIG_NAME` from the config files. And add it back to pyspec context for testing
2021-04-15 15:49:29 +08:00
Hsiao-Wei Wang
bb63af53c9
Refactor genesis.py
2021-04-15 15:40:38 +08:00
Hsiao-Wei Wang
62c828bd4b
Merge branch 'dev' into prepare_state
2021-04-13 20:50:13 +08:00
Danny Ryan
1235e58a8d
Merge pull request #2325 from ethereum/pyspec-constants
...
Refactor pyspec `context.py` by adding `typing.py` and `constants.py`
2021-04-13 06:02:25 -05:00
Alex Stokes
18fc7c0498
Merge pull request #2311 from ralexstokes/add-altair-val-tests
...
Add some basic tests for Altair validator guide
2021-04-12 15:19:44 -07:00
Hsiao-Wei Wang
cd43d64809
Move constants to `eth2spec.test.helpers.constants`
2021-04-12 22:34:00 +08:00
Hsiao-Wei Wang
a8160f1634
Try to initialize state with pure Altair spec in tests
2021-04-10 00:53:37 +08:00
Alex Stokes
66905f4fa6
update test to work for both minimal and mainnet config
2021-04-08 18:25:58 -07:00
Alex Stokes
e4e65295b6
modify assignment test when sync committee size >= validator count
2021-04-08 18:00:58 -07:00
Alex Stokes
3fd4974430
iterate over the correct number of subcommittees
2021-04-08 17:44:54 -07:00
Alex Stokes
749b49898a
file reorg
2021-04-08 17:44:54 -07:00
Alex Stokes
4678ffc794
Update tests/core/pyspec/eth2spec/test/altair/validator/test_validator.py
...
Co-authored-by: Hsiao-Wei Wang <hsiaowei.eth@gmail.com>
2021-04-08 17:44:53 -07:00
Alex Stokes
5e43ad69cf
Add some basic tests for Altair validator guide
2021-04-08 17:44:53 -07:00
Hsiao-Wei Wang
6e8b4b3ea9
Add eth2spec.merge.spec
2021-04-08 05:57:16 +08:00
Danny Ryan
20b465e788
bump VERSION.txt to 1.1.0-alpha.3
2021-04-05 18:07:59 -06:00
Aditya Asgaonkar
9e5ee0a083
Remove unnecesssary change
2021-04-03 17:43:18 -07:00
Aditya Asgaonkar
5194dd123c
TIL fictitious
2021-04-03 17:26:12 -07:00
Aditya Asgaonkar
9ec252e6f2
Fix linter
2021-04-03 17:22:33 -07:00
Aditya Asgaonkar
6e6afac86f
Remove unnecessary asserts
2021-04-03 17:17:43 -07:00
Aditya Asgaonkar
21b878364a
Fix checkpoint hierarchy consistency in tests
2021-04-03 17:09:08 -07:00
Aditya Asgaonkar
2478e1526a
Fix block hierarchy consistency in tests
2021-04-03 16:50:43 -07:00
Aditya Asgaonkar
9eb662786a
Add consistency checks in on_block tests
2021-04-01 06:33:37 -07:00
Hsiao-Wei Wang
2def461298
Merge branch 'dev' into altair_incentives
2021-03-31 00:53:58 +08:00
protolambda
d28cac0e8f
clean up test phase 1 testgen references
2021-03-29 15:38:43 +02:00
protolambda
2bc3e814b0
rename to custody game
2021-03-27 01:58:39 +01:00
protolambda
0c94be4204
clean up more phase1 test references
2021-03-27 00:14:32 +01:00
protolambda
a6c01f8212
no phase1 in tests, per-feature testing now, executable specs will be re-enabled per feature
2021-03-26 23:21:36 +01:00
protolambda
906cde0610
preserve proof of custody tests
2021-03-26 23:10:56 +01:00
protolambda
14cb996613
split phase1 tests into proof-of-custody and sharding tests, drop old shard-transition specific tests
2021-03-26 23:01:24 +01:00
Danny Ryan
d773c6ae9e
lint from pr
2021-03-26 08:28:34 -06:00
Barnabé Monnot
d1c9b8bade
Fix variable name
2021-03-26 19:03:12 +08:00
Barnabé Monnot
582965fd0b
Deprecate PROPOSER_REWARD_QUOTIENT from tests
2021-03-26 18:57:02 +08:00
Barnabé Monnot
71d03a411c
Scale up weights; use existing constants and new PROPOSER_WEIGHT
2021-03-26 18:36:49 +08:00