Hsiao-Wei Wang
402c663b51
Fix function name leftover
2021-11-30 21:57:43 +08:00
vbuterin
c30662b696
Consistently use sum instead of count(1)
2021-11-30 06:39:25 -06:00
Hsiao-Wei Wang
7de1495a42
Fix lint ( #2750 )
2021-11-30 06:38:42 -06:00
Alex Stokes
a20ed3475d
Merge pull request #2740 from asanso/patch-4
...
re-enable dropped ssz test generators
2021-11-30 02:39:23 -08:00
vbuterin
6fa19705fb
Clarified next sync committee comment
2021-11-29 07:05:01 -06:00
vbuterin
06af6296c5
Updated in response to comments
2021-11-29 07:04:05 -06:00
vbuterin
c4f70970c4
Update specs/altair/sync-protocol.md
...
Co-authored-by: terence tsao <terence@prysmaticlabs.com>
2021-11-28 08:31:48 -06:00
vbuterin
77188726de
Fixed ToC and get_active_header positioninf
2021-11-27 07:27:16 -06:00
vbuterin
e104164960
Rework data structures ( #2747 )
...
1. Replace `header` and `finality_header` with `attested_header` (always the header signed by the committee) and `finailzed_header` (always the header verified by the Merkle branch)
2. Remove `LightClientSnapshot`, fold its fields into `LightClientStore` for simplicity
2021-11-27 07:25:27 -06:00
vbuterin
013e814d2d
Update sync-protocol.md
2021-11-26 15:32:37 -06:00
vbuterin
25f2efab19
Simplify sync protocol and update to calculate optimistic heads
...
1. Simplify `valid_updates` to `best_valid_update` so the `LightClientStore` only needs to store O(1) data
2. Track an optimistic head, by looking for the highest-slot header which passes a safety threshold
2021-11-26 15:11:19 -06:00
Danny Ryan
e1356aec83
Merge pull request #2745 from mkalinin/clarify-forkchoice-updated
...
Bring more clarity to notify_forkchoice_updated calls
2021-11-26 06:54:37 -07:00
Danny Ryan
d237491dfe
minor typo
2021-11-26 06:47:05 -07:00
Danny Ryan
96b856f7fa
Merge pull request #2741 from mkalinin/remove-client-settings-doc
...
Remove client-settings.md
2021-11-26 06:42:47 -07:00
Mikhail Kalinin
7a8f236679
Fix notify_forkchoice_updated description as per review
2021-11-25 16:33:30 +06:00
Mikhail Kalinin
b4377333fa
Polish notify_forkchoice_updated description as per review
...
Co-authored-by: Hsiao-Wei Wang <hsiaowei.eth@gmail.com>
2021-11-25 16:27:59 +06:00
Mikhail Kalinin
6ece777ff5
Bring more clarity to notify_forkchoice_updated calls
2021-11-24 20:32:27 +06:00
Mikhail Kalinin
00bede5908
Remove client-settings.md
2021-11-24 17:00:32 +06:00
Antonio Sanso
dfb3ef8f2c
Update ssz_container.py
2021-11-24 08:42:27 +01:00
Danny Ryan
c81c27eb48
Merge pull request #2733 from ethereum/dev
...
minor Merge and forkchoice updates release
2021-11-23 17:11:00 -07:00
Danny Ryan
cebc5148e5
Merge branch 'master' into dev
2021-11-23 17:05:28 -07:00
Danny Ryan
d33a9391e3
Apply suggestions from code review
2021-11-23 15:27:26 -07:00
Danny Ryan
3a5f7d3beb
Merge pull request #2739 from ethereum/bump-version
...
bump VERSION.txt to 1.1.6
2021-11-23 15:09:12 -07:00
Danny Ryan
4370b9c816
bump VERSION.txt to 1.1.6
2021-11-23 14:53:13 -07:00
Danny Ryan
69e7f586ac
Merge pull request #2738 from ethereum/fix-names
...
is_merge -> is_merge_transition
2021-11-23 14:52:05 -07:00
Danny Ryan
a0d008bb86
is_merge -> is_merge_transition
2021-11-23 14:45:03 -07:00
Danny Ryan
32e8ca26a0
Merge pull request #2737 from ethereum/test_prepare_execution_payload
...
Fix spec typo and add `test_prepare_execution_payload` unit tests
2021-11-23 14:25:48 -07:00
Danny Ryan
395fdd4566
Merge pull request #2730 from ethereum/proposer-score-boost
...
Proposer LMD Score Boosting
2021-11-23 11:39:07 -07:00
Hsiao-Wei Wang
8050de384e
Fix spec typo and add `test_prepare_execution_payload` unit tests
2021-11-24 02:23:24 +08:00
Danny Ryan
975931b5cf
pr feedback
2021-11-23 11:19:22 -07:00
Danny Ryan
40f1c85788
Merge pull request #2736 from ethereum/proposer-score-boost-add-check
...
Add `proposer_boost_root` field to test vector "checks" step
2021-11-23 11:16:34 -07:00
Hsiao-Wei Wang
2ba0586c3d
Add `proposer_boost_root` field to test vector "checks" step
2021-11-24 00:09:48 +08:00
Aditya Asgaonkar
6f95637637
Merging local branch to remote latest
2021-11-23 07:32:56 -08:00
Aditya Asgaonkar
2a5c9d8dc5
Set PROPOSER_SCORE_BOOST to 70%
2021-11-23 07:23:59 -08:00
Aditya Asgaonkar
ecbe9190b9
Apply HWW code's review - properly update test steps
2021-11-23 07:20:54 -08:00
Ben Edgington
44fec310b3
Eth1 block hashes have type Hash32 ( #2693 )
...
* Eth1 block hashes have type Hash32
* Modify other forks as well
Co-authored-by: Hsiao-Wei Wang <hsiaowei.eth@gmail.com>
2021-11-23 08:20:26 -07:00
Aditya Asgaonkar
a0b5a809d5
Apply HWW code's review - fix is_before_attesting_interval
2021-11-23 07:02:04 -08:00
Hsiao-Wei Wang
bdd7b0782e
Add configuration value checks
2021-11-23 16:44:12 +08:00
Danny Ryan
64b4ca2950
add PROPOSER_SCORE_BOOST to configuration yaml files
2021-11-22 17:02:46 -07:00
Ori Pomerantz
9999331f81
How to write tests for the consensus layer ( #2700 )
...
* Create README.md
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Signed my name
* Update tests/README.md
Co-authored-by: Danny Ryan <dannyjryan@gmail.com>
* Update tests/README.md
Co-authored-by: Danny Ryan <dannyjryan@gmail.com>
* Update tests/README.md
Co-authored-by: Danny Ryan <dannyjryan@gmail.com>
* Update tests/README.md
Co-authored-by: Danny Ryan <dannyjryan@gmail.com>
* Update tests/README.md
Co-authored-by: Danny Ryan <dannyjryan@gmail.com>
* Update tests/README.md
Co-authored-by: Danny Ryan <dannyjryan@gmail.com>
* Update README.md
* Update README.md
Co-authored-by: Danny Ryan <dannyjryan@gmail.com>
2021-11-22 16:30:12 -07:00
Aditya Asgaonkar
d85d4399cb
Rename test
2021-11-22 14:45:20 -08:00
Aditya Asgaonkar
1d835c5198
Apply Danny's code review & suggestions
2021-11-22 14:44:52 -08:00
Danny Ryan
ea09df50db
toc
2021-11-22 11:39:08 -07:00
Danny Ryan
282d85b9e7
simplify on_tick proposer boost update
2021-11-22 11:31:44 -07:00
Danny Ryan
cebe6ba7e7
minor formatting cleanups
2021-11-22 11:31:17 -07:00
Aditya Asgaonkar
88c76abd7f
Apply Danny's code review
2021-11-22 11:12:25 -07:00
Aditya Asgaonkar
859bbf4358
This reverts commit 4c726cdff39a10c5d096b294fb562cfc99c1f068.
2021-11-22 11:12:24 -07:00
Aditya Asgaonkar
3b20e3ea02
Apply suggestions from code review
...
Co-authored-by: Danny Ryan <dannyjryan@gmail.com>
2021-11-22 11:12:24 -07:00
Aditya Asgaonkar
b0fb861cf5
Make PROPOSER_SCORE_BOOST a percentage value
2021-11-22 11:12:24 -07:00
Aditya Asgaonkar
504d82cc1a
Add datatype to new parameters
2021-11-22 11:12:24 -07:00