Commit Graph

6001 Commits

Author SHA1 Message Date
Hsiao-Wei Wang 8fdc0338ac
Merge pull request #2240 from ethereum/altair-genesis-tests
Enable Altair genesis tests + rename `SpecLightclient` -> `SpecAltair` + disable too slow test
2021-03-16 01:19:14 +08:00
Hsiao-Wei Wang 64dbcdce35
Use @with_all_phases 2021-03-16 01:10:18 +08:00
Hsiao-Wei Wang 734863a6d6
Skip mainnet genesis tests 2021-03-16 00:46:57 +08:00
Hsiao-Wei Wang 5d9f4b072c
Update genesis testgen and format 2021-03-16 00:38:30 +08:00
Hsiao-Wei Wang 1a4bbdfd79
Disable `test_sync_committees_progress` + mainnet config 2021-03-16 00:16:27 +08:00
Hsiao-Wei Wang 40fa73a311
Fork to Altair 2021-03-16 00:05:13 +08:00
Danny Ryan 8db0a8e69d
Merge pull request #2238 from ethereum/JustinDrake-patch-5-1
Minor formatting fix
2021-03-15 10:01:25 -06: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 ef3d791fd3
Merge branch 'dev' into JustinDrake-patch-5-1 2021-03-15 09:30:06 -06:00
Danny Ryan 8de676fc94
Merge pull request #2239 from ethereum/fix-next-sync-committee-index
Fix `NEXT_SYNC_COMMITTEE_INDEX` (leftover of #2236)
2021-03-15 09:29:04 -06:00
Hsiao-Wei Wang 32d0c8087f
Fix `NEXT_SYNC_COMMITTEE_INDEX` 2021-03-15 23:17:59 +08:00
Justin b4c1520bc2
Minor formatting fix 2021-03-15 15:02:57 +00: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
Danny Ryan 2a0e0eb119
fix typo 2021-03-15 08:42:50 -06:00
Danny Ryan 6f473af395
Merge pull request #2225 from ethereum/seen-aggregates
remove faulty de-duplication condition for seen aggregates
2021-03-15 07:43:33 -06:00
Danny Ryan 0bddc2a617
Merge pull request #2235 from ethereum/fix-altair-text
Altair in description and titles
2021-03-15 07:41:01 -06:00
Danny Ryan 178a994804
Apply suggestions from code review
Co-authored-by: Hsiao-Wei Wang <hsiaowei.eth@gmail.com>
2021-03-15 07:33:14 -06:00
Danny Ryan cb23dd8c9f
Merge pull request #2237 from ethereum/fix-cov-report
[minor] Fix missing --cov-report
2021-03-15 07:31:50 -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
Hsiao-Wei Wang a2268a432c
Fix missing --cov-report 2021-03-15 19:20:36 +08:00
Justin Drake e7ebd08d69 Altair cosmetic cleanups plus a couple substantive changes 2021-03-15 11:08:41 +00:00
Hsiao-Wei Wang 339d100f72
Merge pull request #2234 from ethereum/ssz-snappy-proofread
[minor] Fix some leftover from #2097 (ssz-snappy)
2021-03-15 18:13:13 +08:00
protolambda c979e69003
Altair in description and titles 2021-03-14 22:54:30 +01: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
Danny Ryan 885b06e0d5
Merge pull request #2232 from ethereum/update-config
Update Altair config files
2021-03-12 11:36:27 -07:00
Hsiao-Wei Wang 1824bdf181
Update Altair configs 2021-03-13 01:21:04 +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 23b28b62d0
Apply suggestions from @djrtwo code review
Co-authored-by: Danny Ryan <dannyjryan@gmail.com>
2021-03-12 20:40:29 +08:00
Hsiao-Wei Wang 310301236f
Fix typo 2021-03-12 20:29:28 +08:00
Hsiao-Wei Wang 22fe06829b
Refactor `objects_to_spec` 2021-03-12 20:26:26 +08:00
Danny Ryan ea9f3f184f
Merge pull request #2222 from ethereum/leak-scores
independent leak score feature
2021-03-11 14:27:20 -07: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 9254f1bf8c
Fix conflicts 2021-03-12 00:39:38 +08:00
Hsiao-Wei Wang 216bbb0a46
Merge branch 'dev' into fork-choice-test-vectors 2021-03-12 00:34:23 +08:00
Hsiao-Wei Wang 78a4897418
Add fork choice rule format doc 2021-03-12 00:33:04 +08:00
Danny Ryan 79f351cfca
Merge branch 'dev' into leak-scores 2021-03-11 09:28:58 -07:00
Hsiao-Wei Wang 8e303b60b9
Fix generator to ssz_snappy mode 2021-03-12 00:06:52 +08:00
Danny Ryan 7304f9299f
Merge pull request #2228 from ethereum/altair-name
Rename "HF1"/"LIGHTCLIENT_PATCH" to Altair
2021-03-11 09:04:04 -07:00
Danny Ryan b9c95b722d
one more hf-1 to Altair conversion 2021-03-11 08:55:55 -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