-
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 Nov 4, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 732ce21 - Browse repository at this point
Copy the full SHA 732ce21View commit details -
Configuration menu - View commit details
-
Copy full SHA for f46a118 - Browse repository at this point
Copy the full SHA f46a118View commit details -
Configuration menu - View commit details
-
Copy full SHA for 23c4609 - Browse repository at this point
Copy the full SHA 23c4609View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3ede8be - Browse repository at this point
Copy the full SHA 3ede8beView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5451ca8 - Browse repository at this point
Copy the full SHA 5451ca8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 12803fb - Browse repository at this point
Copy the full SHA 12803fbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a5d13d - Browse repository at this point
Copy the full SHA 6a5d13dView 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 35d9817 - Browse repository at this point
Copy the full SHA 35d9817View commit details -
Configuration menu - View commit details
-
Copy full SHA for 619a8cf - Browse repository at this point
Copy the full SHA 619a8cfView commit details -
Configuration menu - View commit details
-
Copy full SHA for c61f129 - Browse repository at this point
Copy the full SHA c61f129View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3ab3366 - Browse repository at this point
Copy the full SHA 3ab3366View commit details -
Configuration menu - View commit details
-
Copy full SHA for 92f980c - Browse repository at this point
Copy the full SHA 92f980cView commit details -
Configuration menu - View commit details
-
Copy full SHA for ad16d4a - Browse repository at this point
Copy the full SHA ad16d4aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8bc3793 - Browse repository at this point
Copy the full SHA 8bc3793View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6c0c4ae - Browse repository at this point
Copy the full SHA 6c0c4aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6d9b705 - Browse repository at this point
Copy the full SHA 6d9b705View 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 a737a44 - Browse repository at this point
Copy the full SHA a737a44View 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 293d083 - Browse repository at this point
Copy the full SHA 293d083View 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 72bf445 - Browse repository at this point
Copy the full SHA 72bf445View commit details -
Configuration menu - View commit details
-
Copy full SHA for 56a64f5 - Browse repository at this point
Copy the full SHA 56a64f5View 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 cc8135a - Browse repository at this point
Copy the full SHA cc8135aView commit details -
Configuration menu - View commit details
-
Copy full SHA for a2e6689 - Browse repository at this point
Copy the full SHA a2e6689View 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 4c3e68e - Browse repository at this point
Copy the full SHA 4c3e68eView commit details -
Read only payload attestation message with Verifier (#14222)
Configuration menu - View commit details
-
Copy full SHA for ff14838 - Browse repository at this point
Copy the full SHA ff14838View commit details -
Configuration menu - View commit details
-
Copy full SHA for 81e5e55 - Browse repository at this point
Copy the full SHA 81e5e55View commit details -
Add
execution_payload
andpayload_attestation_message
topics (#14304Configuration menu - View commit details
-
Copy full SHA for 976b9e9 - Browse repository at this point
Copy the full SHA 976b9e9View 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 79eeef1 - Browse repository at this point
Copy the full SHA 79eeef1View 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 ea0b439 - Browse repository at this point
Copy the full SHA ea0b439View 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 <terence@prysmaticlabs.com>
Configuration menu - View commit details
-
Copy full SHA for fafbb54 - Browse repository at this point
Copy the full SHA fafbb54View 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 8364744 - Browse repository at this point
Copy the full SHA 8364744View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5fc4688 - Browse repository at this point
Copy the full SHA 5fc4688View 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 <potuz@prysmaticlabs.com>
Configuration menu - View commit details
-
Copy full SHA for cc5794b - Browse repository at this point
Copy the full SHA cc5794bView 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 <potuz@potuz.net> Co-authored-by: Potuz <potuz@prysmaticlabs.com>
Configuration menu - View commit details
-
Copy full SHA for 81272e8 - Browse repository at this point
Copy the full SHA 81272e8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4879a2d - Browse repository at this point
Copy the full SHA 4879a2dView 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 <jihoonsong@users.noreply.github.com> --------- Co-authored-by: JihoonSong <jihoonsong@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 23b32ff - Browse repository at this point
Copy the full SHA 23b32ffView 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 f8c8530 - Browse repository at this point
Copy the full SHA f8c8530View commit details -
Configuration menu - View commit details
-
Copy full SHA for 36f5123 - Browse repository at this point
Copy the full SHA 36f5123View 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 87a88eb - Browse repository at this point
Copy the full SHA 87a88ebView commit details -
Configuration menu - View commit details
-
Copy full SHA for 31c3b46 - Browse repository at this point
Copy the full SHA 31c3b46View commit details -
Configuration menu - View commit details
-
Copy full SHA for d75bcf6 - Browse repository at this point
Copy the full SHA d75bcf6View 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 25e86ef - Browse repository at this point
Copy the full SHA 25e86efView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9134802 - Browse repository at this point
Copy the full SHA 9134802View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c1285f - Browse repository at this point
Copy the full SHA 5c1285fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4470a4e - Browse repository at this point
Copy the full SHA 4470a4eView commit details -
Add wait until PTC duty helper function (#14419)
Add wait until PTC duty
Configuration menu - View commit details
-
Copy full SHA for 3beda88 - Browse repository at this point
Copy the full SHA 3beda88View commit details -
Configuration menu - View commit details
-
Copy full SHA for b17e331 - Browse repository at this point
Copy the full SHA b17e331View commit details -
Configuration menu - View commit details
-
Copy full SHA for ef21d64 - Browse repository at this point
Copy the full SHA ef21d64View commit details -
Configuration menu - View commit details
-
Copy full SHA for e889572 - Browse repository at this point
Copy the full SHA e889572View commit details -
Configuration menu - View commit details
-
Copy full SHA for a927ca8 - Browse repository at this point
Copy the full SHA a927ca8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e14c0d - Browse repository at this point
Copy the full SHA 1e14c0dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 305f545 - Browse repository at this point
Copy the full SHA 305f545View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3613931 - Browse repository at this point
Copy the full SHA 3613931View commit details -
Configuration menu - View commit details
-
Copy full SHA for 887b1bd - Browse repository at this point
Copy the full SHA 887b1bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for af9c08f - Browse repository at this point
Copy the full SHA af9c08fView commit details -
Configuration menu - View commit details
-
Copy full SHA for baae0c0 - Browse repository at this point
Copy the full SHA baae0c0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 35e6126 - Browse repository at this point
Copy the full SHA 35e6126View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2acf161 - Browse repository at this point
Copy the full SHA 2acf161View commit details -
Configuration menu - View commit details
-
Copy full SHA for fa8b1f1 - Browse repository at this point
Copy the full SHA fa8b1f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1fb1789 - Browse repository at this point
Copy the full SHA 1fb1789View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1040f5a - Browse repository at this point
Copy the full SHA 1040f5aView commit details -
Configuration menu - View commit details
-
Copy full SHA for be4c426 - Browse repository at this point
Copy the full SHA be4c426View 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 2e107f4 - Browse repository at this point
Copy the full SHA 2e107f4View 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 56dfaf8 - Browse repository at this point
Copy the full SHA 56dfaf8View commit details
Commits on Nov 5, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 42fa9b8 - Browse repository at this point
Copy the full SHA 42fa9b8View commit details
Commits on Nov 6, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 2f3cf1e - Browse repository at this point
Copy the full SHA 2f3cf1eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7c6a92e - Browse repository at this point
Copy the full SHA 7c6a92eView commit details