Commit Graph

7394 Commits

Author SHA1 Message Date
Hsiao-Wei Wang 257c2413a5
Update test_sync_protocol.py per the new optimistic_header and data structure 2021-12-14 22:06:25 +08:00
Hsiao-Wei Wang 25d88fee24
Fix `process_light_client_update` 2021-12-14 22:05:09 +08:00
Hsiao-Wei Wang 2f618f7b48
Fix lint and presets 2021-12-14 21:38:58 +08:00
Paul Hauner d9a0d16cc6
Tidy 2021-12-14 16:46:31 +11:00
Paul Hauner 084255465d
Add section about re-orgs 2021-12-14 16:42:35 +11:00
Paul Hauner eb32e141d2
Fix typo 2021-12-14 16:22:52 +11:00
Paul Hauner 4f1d8152d5
Add note about full verification 2021-12-14 16:21:30 +11:00
Paul Hauner 9d7d4d0869
Remove validate_merge_block check 2021-12-14 16:21:23 +11:00
Paul Hauner ffc2c405c4
Add section about API 2021-12-14 16:11:40 +11:00
Paul Hauner 3f6e5b9c3a
Add checkpoint sync 2021-12-14 16:10:53 +11:00
Paul Hauner 4c4ffe71b4
Fix latest_valid_ancestor 2021-12-14 15:54:33 +11:00
Paul Hauner d1851dce21
Tidy tab formatting 2021-12-14 15:53:03 +11:00
Paul Hauner fb520a8356
Condense gossip topics 2021-12-14 15:51:26 +11:00
Paul Hauner 3b67c334e4
Add note about removal from optimistic_roots 2021-12-14 15:51:15 +11:00
Paul Hauner 0ad6025b48
Remove valid roots set 2021-12-14 15:51:02 +11:00
Paul Hauner 497b5f8cbb
Add EE assumptions 2021-12-14 15:44:15 +11:00
Paul Hauner 2c62ed3b77
Flip bool 2021-12-14 14:53:04 +11:00
Paul Hauner 5a5f980fca
Add RPC responses 2021-12-13 19:25:33 +11:00
Paul Hauner 1a89d167da
Remove recent valid ancestor 2021-12-13 19:15:53 +11:00
Paul Hauner 7f5b7d1535
Remove attesting during opt sync 2021-12-13 19:03:35 +11:00
Paul Hauner 8918823071
Start adding p2p components 2021-12-13 19:02:45 +11:00
Paul Hauner 38fffd3e2f
Tidy, finish duties 2021-12-13 17:09:09 +11:00
Hsiao-Wei Wang 4cd2334bdd
Merge pull request #2752 from ethereum/ex-ante-tests 2021-12-12 10:07:30 +08:00
Hsiao-Wei Wang 6edf840992
fix lint 2021-12-11 09:06:56 +08:00
Hsiao-Wei Wang 4cea972cc0
Apply suggestions from code review
Co-authored-by: Caspar Schwarz-Schilling <31305984+casparschwa@users.noreply.github.com>
2021-12-11 09:01:16 +08:00
vbuterin 916193bd69
Updates in response to comments 2021-12-10 07:48:14 -06:00
Hsiao-Wei Wang 11a42f8d06
Remove `*_without_boost` tests 2021-12-09 17:58:31 +08:00
Hsiao-Wei Wang 2226a160a0
Merge pull request #2766 from casparschwa/sandwich-tests
Add sandwich test scenarios
2021-12-09 17:55:05 +08:00
Hsiao-Wei Wang addc03cb7c
Enable ex-ante tests in testgen and minor fixes 2021-12-09 17:47:20 +08:00
Caspar Schwarz-Schilling 9f614fca83 Fix linting 2021-12-08 18:31:14 +01:00
Caspar Schwarz-Schilling 79e1d5e021 Fix head view comparison 2021-12-08 18:14:46 +01:00
Caspar Schwarz-Schilling dc9db78a67 Add sandwich test scenarios 2021-12-08 17:05:44 +01:00
Hsiao-Wei Wang c3c24fb13a
Merge pull request #2765 from ralexstokes/fix-spec-config-concurrency-issue
Update per-test config to be unique per-test in `spec_configured_state_test`
2021-12-08 02:20:39 +08:00
Alex Stokes db2be42baa
use a specific `spec` rather than the pre-defined phases 2021-12-07 18:50:00 +01:00
Alex Stokes 55c9c03f08
simply module import and fix config adjustment 2021-12-07 18:22:10 +01:00
Alex Stokes 733f37715e
use `importlib` to perform an actual spec copy 2021-12-07 17:55:17 +01:00
Alex Stokes 57be9d064f
update per-test config to be unique per-test 2021-12-07 17:13:26 +01:00
Hsiao-Wei Wang 200ed58dd9
Merge branch 'dev' into ex-ante-tests 2021-12-07 18:29:48 +08:00
Hsiao-Wei Wang 876c5b0944
Merge pull request #2760 from ethereum/fix-proposer-boost-apply
Apply proposer boost to ancestors correctly
2021-12-07 17:55:30 +08:00
Hsiao-Wei Wang 9dc1b7af7e
Test with strict `proposer_boost + 1` attestation participants 2021-12-07 00:25:26 +08:00
Paul Hauner c99e48c60c
Add first efforts 2021-12-06 10:07:54 +11:00
Danny Ryan 3a9777eebc
Update specs/phase0/fork-choice.md 2021-12-02 14:00:06 -07:00
Danny Ryan 365b1f46f9
remove unnecessary definitions from CapellaSpecBuilder 2021-12-02 12:33:58 -07:00
Danny Ryan 59d48210a1
fix forkchoice tests 2021-12-02 12:10:46 -07:00
Danny Ryan 6969c8af67
lint 2021-12-02 12:03:51 -07:00
Danny Ryan 180abb90ec
clean up some withdrawal logic and add tests 2021-12-02 11:56:33 -07:00
Danny Ryan 2010994d10
add capella circleci workflow 2021-12-02 11:56:05 -07:00
Hsiao-Wei Wang 6308cee7a6
Fix typo 2021-12-03 02:17:57 +08:00
Aditya Asgaonkar 0d8fab3986 Apply Danny's suggestion 2021-12-02 09:57:28 -08:00
Danny Ryan 3024dc8ba8
add withdrawn_epoch to capella validators 2021-12-02 10:52:56 -07:00