-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WIP] EIP-7732 (ePBS) #13917
base: develop
Are you sure you want to change the base?
[WIP] EIP-7732 (ePBS) #13917
Commits on Dec 3, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 4ab14ba - Browse repository at this point
Copy the full SHA 4ab14baView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4a951f5 - Browse repository at this point
Copy the full SHA 4a951f5View commit details -
Configuration menu - View commit details
-
Copy full SHA for ab89b52 - Browse repository at this point
Copy the full SHA ab89b52View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1829bc2 - Browse repository at this point
Copy the full SHA 1829bc2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 12ebe67 - Browse repository at this point
Copy the full SHA 12ebe67View commit details -
Configuration menu - View commit details
-
Copy full SHA for e96321f - Browse repository at this point
Copy the full SHA e96321fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 19f3d0a - Browse repository at this point
Copy the full SHA 19f3d0aView commit details -
This implements a helper to get the ptc committee from a state. It uses the cached beacon committees if possible It also implements a helper to compute the largest power of two of a uint64 and a helper to test for nil payload attestation messages
Configuration menu - View commit details
-
Copy full SHA for bd5ed50 - Browse repository at this point
Copy the full SHA bd5ed50View commit details -
Configuration menu - View commit details
-
Copy full SHA for 67f4544 - Browse repository at this point
Copy the full SHA 67f4544View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f3290b - Browse repository at this point
Copy the full SHA 6f3290bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 83ddc98 - Browse repository at this point
Copy the full SHA 83ddc98View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9bd542e - Browse repository at this point
Copy the full SHA 9bd542eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 09e0795 - Browse repository at this point
Copy the full SHA 09e0795View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5399702 - Browse repository at this point
Copy the full SHA 5399702View commit details -
Configuration menu - View commit details
-
Copy full SHA for 41172f3 - Browse repository at this point
Copy the full SHA 41172f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for f31e8ef - Browse repository at this point
Copy the full SHA f31e8efView commit details -
Modify
get_ptc
function to follow the Python spec (#14256)* Modify `get_ptc` function to follow the Python spec * Assign PTC members from the beginning of beacon committee array
Configuration menu - View commit details
-
Copy full SHA for 97b9074 - Browse repository at this point
Copy the full SHA 97b9074View commit details -
Add
remove_flag
and its unit test (#14260)* Add `remove_flag` and its unit test * Add a test case trying to remove a flag that is not set
Configuration menu - View commit details
-
Copy full SHA for 19ce188 - Browse repository at this point
Copy the full SHA 19ce188View commit details -
Ensure epbs state getters & setters check versions (#14276)
* Ensure EPBS state getters and setters check versions * Rename to LatestExecutionPayloadHeaderEPBS * Add minimal beacon state
Configuration menu - View commit details
-
Copy full SHA for c987b2c - Browse repository at this point
Copy the full SHA c987b2cView commit details -
Configuration menu - View commit details
-
Copy full SHA for d40521b - Browse repository at this point
Copy the full SHA d40521bView commit details -
Add payload attestation helper functions (#14258)
* Add `IndexedPayloadAttestation` container * Add `GetPayloadAttestingIndices` and its unit test * Add `GetIndexedPayloadAttestation` and its unit test * Add `is_valid_indexed_payload_attestation` and its unit test * Create a smaller set of validators for faster unit test * Pass context to `GetPayloadTimelinessCommittee` * Iterate `ValidatorsReadOnly` instead of copying all validators
Configuration menu - View commit details
-
Copy full SHA for 03b2e29 - Browse repository at this point
Copy the full SHA 03b2e29View commit details -
Configuration menu - View commit details
-
Copy full SHA for b92ac72 - Browse repository at this point
Copy the full SHA b92ac72View commit details -
Allow nodes with and without payload in forkchoice (#14288)
* Allow nodes with and without payload in forkchoice This PR takes care of adding nodes to forkchoice that may or may not have a corresponding payload. The rationale is as follows - The node structure is kept almost the same as today. - A zero payload hash is considered as if the node was empty (except for the tree root) - When inserting a node we check what the right parent node would be depending on whether the parent had a payload or not. - For pre-epbs forks all nodes are full, no logic changes except a new steps to gather the parent hash that is needed for block insertion. This PR had to change some core consensus types and interfaces. - It removed the ROBlockEPBS interface and added the corresponding ePBS fields to the ReadOnlyBeaconBlockBody - It moved the setters and getters to epbs dedicated files. It also added a checker for `IsParentFull` on forkchoice that simply checks for the parent hash of the parent node. * review
Configuration menu - View commit details
-
Copy full SHA for 94e48cb - Browse repository at this point
Copy the full SHA 94e48cbView commit details -
Read only payload attestation message with Verifier (#14222)
* Read only payload attestation message with verifier * Payload attestation tests (#14242) * Payload attestation in verification package * Feedback #1 --------- Co-authored-by: Md Amaan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 16d948a - Browse repository at this point
Copy the full SHA 16d948aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8b63196 - Browse repository at this point
Copy the full SHA 8b63196View commit details -
Add
execution_payload
andpayload_attestation_message
topics (#14304Configuration menu - View commit details
-
Copy full SHA for bb809d8 - Browse repository at this point
Copy the full SHA bb809d8View commit details -
Indexed paylaod attestation test (#14299)
* test-added * nil check fix * randomized inputs * hardcoded inputs * suggestions applied * minor-typo fixed * deleted
Configuration menu - View commit details
-
Copy full SHA for d905f3b - Browse repository at this point
Copy the full SHA d905f3bView commit details -
Process Execution Payload Envelope in Chain Service (#14295)
Adds the processing of execution payload envelope Corrects the protos for attestations and slashings in Electra versions Adds generators of full blocks for Electra
Configuration menu - View commit details
-
Copy full SHA for 180761d - Browse repository at this point
Copy the full SHA 180761dView commit details -
Payload Attestation Sync package changes (#13989)
* Payload Attestation Sync package changes * With verifier * change idx back to uint64 * subscribe to topic * add back error --------- Co-authored-by: terence tsao <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2dcbad9 - Browse repository at this point
Copy the full SHA 2dcbad9View commit details -
Add getter for payload attestation cache (#14328)
* Add getter for payload attestation cache * Check against status * Feedback #1
Configuration menu - View commit details
-
Copy full SHA for ae234b9 - Browse repository at this point
Copy the full SHA ae234b9View commit details -
Configuration menu - View commit details
-
Copy full SHA for d685911 - Browse repository at this point
Copy the full SHA d685911View commit details -
Enable validator client to sign execution header (#14333)
* Enable validator client to sign execution header * Update proto/prysm/v1alpha1/validator-client/keymanager.proto --------- Co-authored-by: Potuz <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a330be5 - Browse repository at this point
Copy the full SHA a330be5View commit details -
* process_withdrawal_fn and isParentfull test * suggestions applied * minor change * removed * lint * lint fix * removed Latestheader * test added with nil error * tests passing * IsParentNode Test added * lint * fix test * updated godoc * fix in godoc * comment removed * fixed braces * removed var * removed var * Update beacon-chain/core/blocks/withdrawals.go * Update beacon-chain/core/blocks/withdrawals_test.go * gazelle * test added and removed previous changes in Testprocesswithdrawal * added check for nil state * decrease chromatic complexity --------- Co-authored-by: Potuz <[email protected]> Co-authored-by: Potuz <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 59157f8 - Browse repository at this point
Copy the full SHA 59157f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9425826 - Browse repository at this point
Copy the full SHA 9425826View commit details -
Enable validator client to sign execution payload envelope (#14346)
* Enable validator client to sign execution payload envelope * Update comment Co-authored-by: JihoonSong <[email protected]> --------- Co-authored-by: JihoonSong <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4095cc4 - Browse repository at this point
Copy the full SHA 4095cc4View commit details -
Add unit tests of
ExecutionPayloadEnvelope
verification (#14373)* Correct requirement list of EnvelopeVerifier * Add unit tests of ExecutionPayloadEnvelope verification
Configuration menu - View commit details
-
Copy full SHA for 1aebd0a - Browse repository at this point
Copy the full SHA 1aebd0aView commit details -
Configuration menu - View commit details
-
Copy full SHA for db1060a - Browse repository at this point
Copy the full SHA db1060aView commit details -
Signed execution payload header for sync (#14363)
* Signed execution payload header for sync * Use RO state * SignedExecutionPayloadHeader by hash and root * Fix execution headers cache
Configuration menu - View commit details
-
Copy full SHA for a21050d - Browse repository at this point
Copy the full SHA a21050dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5f92629 - Browse repository at this point
Copy the full SHA 5f92629View commit details -
Configuration menu - View commit details
-
Copy full SHA for a5b2a7a - Browse repository at this point
Copy the full SHA a5b2a7aView commit details -
* Handle incoming ptc attestation messages in the chain package * fix double import * remove unused error
Configuration menu - View commit details
-
Copy full SHA for d11df8f - Browse repository at this point
Copy the full SHA d11df8fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 39b21f3 - Browse repository at this point
Copy the full SHA 39b21f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 474c210 - Browse repository at this point
Copy the full SHA 474c210View commit details -
Configuration menu - View commit details
-
Copy full SHA for b59778f - Browse repository at this point
Copy the full SHA b59778fView commit details -
Add wait until PTC duty helper function (#14419)
Add wait until PTC duty
Configuration menu - View commit details
-
Copy full SHA for c67f600 - Browse repository at this point
Copy the full SHA c67f600View commit details -
Configuration menu - View commit details
-
Copy full SHA for ffddf26 - Browse repository at this point
Copy the full SHA ffddf26View commit details -
Configuration menu - View commit details
-
Copy full SHA for 271b445 - Browse repository at this point
Copy the full SHA 271b445View commit details -
Configuration menu - View commit details
-
Copy full SHA for 44b622d - Browse repository at this point
Copy the full SHA 44b622dView commit details -
Configuration menu - View commit details
-
Copy full SHA for ab98d71 - Browse repository at this point
Copy the full SHA ab98d71View commit details -
Configuration menu - View commit details
-
Copy full SHA for 17e81c2 - Browse repository at this point
Copy the full SHA 17e81c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 269badb - Browse repository at this point
Copy the full SHA 269badbView commit details -
Configuration menu - View commit details
-
Copy full SHA for f1daf04 - Browse repository at this point
Copy the full SHA f1daf04View commit details -
Configuration menu - View commit details
-
Copy full SHA for d116773 - Browse repository at this point
Copy the full SHA d116773View commit details -
Configuration menu - View commit details
-
Copy full SHA for 13fd2c6 - Browse repository at this point
Copy the full SHA 13fd2c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8b79971 - Browse repository at this point
Copy the full SHA 8b79971View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7d3f5e2 - Browse repository at this point
Copy the full SHA 7d3f5e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 311074c - Browse repository at this point
Copy the full SHA 311074cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 48b3d80 - Browse repository at this point
Copy the full SHA 48b3d80View commit details -
Configuration menu - View commit details
-
Copy full SHA for ee43558 - Browse repository at this point
Copy the full SHA ee43558View commit details -
Configuration menu - View commit details
-
Copy full SHA for 501174d - Browse repository at this point
Copy the full SHA 501174dView commit details -
Configuration menu - View commit details
-
Copy full SHA for d49274a - Browse repository at this point
Copy the full SHA d49274aView commit details -
Share resources between empty and full nodes (#14517)
* Share resources between empty and full nodes - Share a block structure withing the forkchoice node. The surrounding envelope contains information about the payload presence and the children links, the inner structure contains the usual FFG and parent links. - Reworked setOptimistictoInvalid - Changed the PTC vote logic to have validity handled outside of forkchoice and have forkchoice only keep the total count of votes. * Fix tests * gazelle * Update head twice pre-epbs * only upadte best descendants without computing head * skip forkchoice tests * fix some blockchain tests * Nil optimistic sync fix * only count weight of empty nodes
Configuration menu - View commit details
-
Copy full SHA for 4bb0c66 - Browse repository at this point
Copy the full SHA 4bb0c66View commit details -
Process blocks after ePBS (#14611)
These are some of the things that are left to be done - Process the payload - Change stategen to get the poststate of the block and the payload separately - Change the next slot cache to be safe for full/empty
Configuration menu - View commit details
-
Copy full SHA for e81c2eb - Browse repository at this point
Copy the full SHA e81c2ebView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9986e64 - Browse repository at this point
Copy the full SHA 9986e64View commit details -
Configuration menu - View commit details
-
Copy full SHA for b746a8f - Browse repository at this point
Copy the full SHA b746a8fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 694922b - Browse repository at this point
Copy the full SHA 694922bView commit details -
Configuration menu - View commit details
-
Copy full SHA for bfe7572 - Browse repository at this point
Copy the full SHA bfe7572View commit details -
* Send FCU on epbs * handle late block tasks * deal with reorgs by attestations * save head on regular sync * don't sleep 1 sec
Configuration menu - View commit details
-
Copy full SHA for 12a84c8 - Browse repository at this point
Copy the full SHA 12a84c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4836bd4 - Browse repository at this point
Copy the full SHA 4836bd4View commit details -
Configuration menu - View commit details
-
Copy full SHA for ca16bf3 - Browse repository at this point
Copy the full SHA ca16bf3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f2efe4 - Browse repository at this point
Copy the full SHA 2f2efe4View commit details -
Configuration menu - View commit details
-
Copy full SHA for fde1b93 - Browse repository at this point
Copy the full SHA fde1b93View commit details -
Configuration menu - View commit details
-
Copy full SHA for 76392a8 - Browse repository at this point
Copy the full SHA 76392a8View commit details