Hsiao-Wei Wang
1a4bbdfd79
Disable `test_sync_committees_progress` + mainnet config
2021-03-16 00:16:27 +08:00
Hsiao-Wei Wang
d590eebd36
`SpecLightclient` -> `SpecAltair`
2021-03-16 00:00:08 +08:00
Hsiao-Wei Wang
78211a3649
Enable Altair genesis tests
2021-03-16 00:00:04 +08:00
Danny Ryan
b8bf7f0f80
Merge pull request #2236 from ethereum/justin_altair_cleanups
...
Altair cosmetic cleanups plus a couple substantive changes
2021-03-15 08:57:35 -06:00
Justin Drake
8e815dd3f7
revert rename of to
2021-03-15 11:25:59 +00:00
Justin Drake
5a16f99302
Fix line too long
2021-03-15 11:21:05 +00:00
Justin Drake
e7ebd08d69
Altair cosmetic cleanups plus a couple substantive changes
2021-03-15 11:08:41 +00:00
Hsiao-Wei Wang
1c0238075e
Fix some leftover from #2097
2021-03-13 12:42:51 +08:00
Hsiao-Wei Wang
5dcc9927c8
Merge pull request #2202 from ethereum/fork-choice-test-vectors
...
fork-choice test vectors: starting with `get_head` tests
2021-03-13 12:08:33 +08:00
Hsiao-Wei Wang
e77ba91821
Apply proto's feedback, fix+refactor test_get_head, fix test format doc
...
Note that to execute on_attestation after on_block
Output more checking field
Disable mainnet config test_filtered_block_tree
Fix after rectoring + use more run_on_block
Fix and refactor `tick_and_run_on_attestation`
2021-03-13 00:29:35 +08:00
Danny Ryan
65dcf897c2
Merge pull request #2147 from ethereum/lightclient-sync-exe
...
Make `sync-protocol.md` pass the linter and add basic tests
2021-03-12 07:52:45 -07:00
Hsiao-Wei Wang
d29926efe6
Remove the duplicate get_head unit test
2021-03-12 21:05:23 +08:00
Hsiao-Wei Wang
a1e74b2c18
Fix conflicts
2021-03-12 01:05:26 +08:00
Hsiao-Wei Wang
c34eae33d0
Merge branch 'dev' into lightclient-sync-exe
2021-03-12 00:49:29 +08:00
Hsiao-Wei Wang
216bbb0a46
Merge branch 'dev' into fork-choice-test-vectors
2021-03-12 00:34:23 +08:00
Danny Ryan
79f351cfca
Merge branch 'dev' into leak-scores
2021-03-11 09:28:58 -07:00
Hsiao-Wei Wang
96e29841a7
Merge branch 'dev' into fork-choice-test-vectors
2021-03-11 23:45:54 +08:00
Hsiao-Wei Wang
72832c8b9c
Fix test
2021-03-11 22:25:48 +08:00
Hsiao-Wei Wang
b44e576e95
LIGHTCLIENT_PATCH/HF1 -> ALTAIR
2021-03-11 21:32:00 +08:00
Hsiao-Wei Wang
69489d1541
Rename folders and file names to `altair`
2021-03-11 21:12:46 +08:00
Hsiao-Wei Wang
2de64cbda1
Add `process_light_client_update` tests
2021-03-11 21:06:58 +08:00
Danny Ryan
813608928c
Merge branch 'dev' into tests-compression
2021-03-10 16:43:02 -07:00
Danny Ryan
36b6f8c3bf
Merge branch 'dev' into lightclient-sync-exe
2021-03-10 16:25:01 -07:00
Danny Ryan
cc191a0e2c
Merge branch 'dev' into leak-scores
2021-03-10 13:18:58 -07:00
Danny Ryan
37c49ffcdc
ensure rewards are tested properly post altair fork
2021-03-10 13:11:03 -07:00
Danny Ryan
1f3e73703c
use 'other_phases' for fork tests
2021-03-10 12:52:35 -07:00
Danny Ryan
e792c27c91
@hwwhww review
...
Co-authored-by: Hsiao-Wei Wang <hsiaowei.eth@gmail.com>
2021-03-10 12:27:50 -07:00
Danny Ryan
f9b54ea03b
remove fork_test
2021-03-09 16:18:30 -07:00
Danny Ryan
956a7a2ef1
Update tests/core/pyspec/eth2spec/test/context.py
2021-03-09 16:09:08 -07:00
Danny Ryan
e2abdb74ae
port testing
2021-03-09 15:41:28 -07:00
Hsiao-Wei Wang
f025ec40c5
Fix linter error
2021-03-09 21:21:32 +08:00
Hsiao-Wei Wang
7a10c7108a
Fix decorator calls
2021-03-09 21:21:10 +08:00
Hsiao-Wei Wang
f97ea9e172
Generate basic tests. Still having problem with generating `with_custom_state` tests
2021-03-09 20:55:39 +08:00
Hsiao-Wei Wang
50fb3da072
Make test_fork.py truly pass
2021-03-09 20:54:48 +08:00
Danny Ryan
6c406753f1
working through test gens
2021-03-08 19:11:31 -07:00
Danny Ryan
d6961f636d
add base hf1 fork function tests
2021-03-08 17:21:01 -07:00
Danny Ryan
deace8768e
port @justindrake's general cleanups from #2212
2021-03-01 19:41:28 -07:00
Danny Ryan
63e014791c
Merge branch 'dev' into dev-merge
2021-02-24 16:23:04 -07:00
Danny Ryan
fb974ed37f
bump version to 1.0.1
2021-02-23 16:40:19 -07:00
Danny Ryan
7af50cc827
add eth1 withdrawal credentials to spec
2021-02-23 16:16:35 -07:00
Danny Ryan
e35b850181
Merge pull request #2198 from ethereum/hf1-config
...
update penalty config values for hf1
2021-02-22 18:26:43 -06:00
Danny Ryan
6df3de8506
Merge pull request #2199 from ethereum/turn_off_phase1_testgen
...
[testgen] turn off phase 1, turn on HF1, and refactoring
2021-02-22 13:28:19 -06:00
Hsiao-Wei Wang
de4cad5d35
Update docs
2021-02-22 18:40:04 +08:00
Hsiao-Wei Wang
27507fb3e2
Add `get_head` test vectors
2021-02-19 13:08:35 +08:00
Hsiao-Wei Wang
e58dcb40ac
Clean up and kick the cache
2021-02-18 17:51:01 +08:00
Hsiao-Wei Wang
9cc8567d68
Move `gen_helpers` into a module of `eth2spec` package
2021-02-18 15:17:47 +08:00
Danny Ryan
8ec082fcf9
Merge pull request #2149 from ethereum/0x01-creds
...
Eth1 withdrawal credentials (0x01)
2021-02-16 13:06:34 -06:00
Hsiao-Wei Wang
600a4daddf
Turn off phase1 testgen and turn on lightclient_patch testgen
2021-02-15 22:29:27 +08:00
Hsiao-Wei Wang
dda7010c0c
Fix the tests that use `MIN_SLASHING_PENALTY_QUOTIENT`. (The mainnet tests failed before this fix)
2021-02-13 23:02:06 +08:00
Hsiao-Wei Wang
24a244eb9b
Fix typo: `get_slashing_multipler` -> `get_slashing_multiplier`
2021-02-13 22:48:34 +08:00