Skip to content
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

Local proposer end to end #14440

Open
wants to merge 63 commits into
base: epbs
Choose a base branch
from
Open

Local proposer end to end #14440

wants to merge 63 commits into from

Commits on Oct 28, 2024

  1. Configuration menu
    Copy the full SHA
    f2aa269 View commit details
    Browse the repository at this point in the history
  2. Add ePBS beacon state proto

    potuz committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    a8cfc74 View commit details
    Browse the repository at this point in the history
  3. ePBS configuration constants

    potuz committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    5c2c9a8 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1301780 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6a97d60 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    ce7dfa1 View commit details
    Browse the repository at this point in the history
  7. Add ePBS to state (#13926)

    potuz committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    1c61d17 View commit details
    Browse the repository at this point in the history
  8. Implement get_ptc

    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
    potuz committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    a5dc80e View commit details
    Browse the repository at this point in the history
  9. Add EPBS slashing params

    potuz committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    cfff5a1 View commit details
    Browse the repository at this point in the history
  10. Add ePBS to db (#13971)

    * Add ePBS to db
    potuz committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    8c69b91 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    c6efc00 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    06de80f View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    366abb7 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    8d3ef61 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    329ed38 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    0cb1b24 View commit details
    Browse the repository at this point in the history
  17. 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
    jihoonsong authored and potuz committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    f11beb8 View commit details
    Browse the repository at this point in the history
  18. 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
    jihoonsong authored and potuz committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    066d27e View commit details
    Browse the repository at this point in the history
  19. Ensure epbs state getters & setters check versions (#14276)

    * Ensure EPBS state getters and setters check versions
    
    * Rename to LatestExecutionPayloadHeaderEPBS
    
    * Add minimal beacon state
    potuz committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    6da7b89 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    cf71660 View commit details
    Browse the repository at this point in the history
  21. 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
    jihoonsong authored and potuz committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    d10233d View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    d3ae886 View commit details
    Browse the repository at this point in the history
  23. 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
    potuz committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    65e32b7 View commit details
    Browse the repository at this point in the history
  24. 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]>
    2 people authored and potuz committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    3429bd1 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    702b2e9 View commit details
    Browse the repository at this point in the history
  26. Add execution_payload and payload_attestation_message topics (#14304

    )
    
    * Add `execution_payload` and `payload_attestation_message` topics
    
    * Set `SourcePubkey` to 48 bytes long
    
    * Add randomly populated `PayloadAttestationMessage` object
    
    * Add tests for `execution_payload` and `payload_attestation_message` topics
    jihoonsong authored and potuz committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    39f4f24 View commit details
    Browse the repository at this point in the history
  27. Indexed paylaod attestation test (#14299)

    * test-added
    
    * nil check fix
    
    * randomized inputs
    
    * hardcoded inputs
    
    * suggestions applied
    
    * minor-typo fixed
    
    * deleted
    Redidacove authored and potuz committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    0d6b1aa View commit details
    Browse the repository at this point in the history
  28. 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
    potuz committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    629afd7 View commit details
    Browse the repository at this point in the history
  29. 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]>
    potuz and terencechain committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    f9b8ec1 View commit details
    Browse the repository at this point in the history
  30. Add getter for payload attestation cache (#14328)

    * Add getter for payload attestation cache
    
    * Check against status
    
    * Feedback #1
    terencechain authored and potuz committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    9d22347 View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    c56b547 View commit details
    Browse the repository at this point in the history
  32. 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]>
    potuz committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    4f67ed0 View commit details
    Browse the repository at this point in the history
  33. Process withdrawal (#14297)

    * 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]>
    3 people committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    b252d86 View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    598dfad View commit details
    Browse the repository at this point in the history
  35. 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]>
    2 people authored and potuz committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    942d490 View commit details
    Browse the repository at this point in the history
  36. Add unit tests of ExecutionPayloadEnvelope verification (#14373)

    * Correct requirement list of EnvelopeVerifier
    
    * Add unit tests of ExecutionPayloadEnvelope verification
    jihoonsong authored and potuz committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    025fb61 View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    3237630 View commit details
    Browse the repository at this point in the history
  38. 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
    potuz committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    267a2e5 View commit details
    Browse the repository at this point in the history
  39. Configuration menu
    Copy the full SHA
    d11dfff View commit details
    Browse the repository at this point in the history
  40. Configuration menu
    Copy the full SHA
    a8cc7fa View commit details
    Browse the repository at this point in the history
  41. Receive ptc message (#14394)

    * Handle incoming ptc attestation messages in the chain package
    
    * fix double import
    
    * remove unused error
    potuz committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    5c8b137 View commit details
    Browse the repository at this point in the history
  42. Configuration menu
    Copy the full SHA
    6dcac58 View commit details
    Browse the repository at this point in the history
  43. Remove Changelog workflow

    potuz committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    5c600f3 View commit details
    Browse the repository at this point in the history
  44. Configuration menu
    Copy the full SHA
    72f4a60 View commit details
    Browse the repository at this point in the history
  45. Add wait until PTC duty helper function (#14419)

    Add wait until PTC duty
    terencechain authored and potuz committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    b0a07f2 View commit details
    Browse the repository at this point in the history
  46. Add GetPTCVote helpers (#14420)

    potuz committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    5c91d9a View commit details
    Browse the repository at this point in the history
  47. Configuration menu
    Copy the full SHA
    8647611 View commit details
    Browse the repository at this point in the history
  48. Configuration menu
    Copy the full SHA
    fddb76e View commit details
    Browse the repository at this point in the history
  49. Fix pubkeyToIndex usage

    potuz committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    df72bed View commit details
    Browse the repository at this point in the history
  50. Configuration menu
    Copy the full SHA
    8f2ed2f View commit details
    Browse the repository at this point in the history
  51. Configuration menu
    Copy the full SHA
    72c3b5f View commit details
    Browse the repository at this point in the history
  52. Configuration menu
    Copy the full SHA
    fdfe4b8 View commit details
    Browse the repository at this point in the history
  53. fix build

    potuz committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    48408b8 View commit details
    Browse the repository at this point in the history
  54. export random execution request

    potuz committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    1601880 View commit details
    Browse the repository at this point in the history
  55. Configuration menu
    Copy the full SHA
    fff7412 View commit details
    Browse the repository at this point in the history
  56. Configuration menu
    Copy the full SHA
    aa990ec View commit details
    Browse the repository at this point in the history
  57. Configuration menu
    Copy the full SHA
    e325e86 View commit details
    Browse the repository at this point in the history
  58. Configuration menu
    Copy the full SHA
    8e1d79b View commit details
    Browse the repository at this point in the history
  59. Fix pending balance deposits

    potuz committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    c5f5761 View commit details
    Browse the repository at this point in the history
  60. Remove invalid tests

    potuz committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    40ad265 View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2024

  1. Configuration menu
    Copy the full SHA
    10443d8 View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2024

  1. Configuration menu
    Copy the full SHA
    1b07cb6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    aea64ca View commit details
    Browse the repository at this point in the history