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

Add GetPTCVote helpers #14420

Merged
merged 1 commit into from
Sep 5, 2024
Merged

Add GetPTCVote helpers #14420

merged 1 commit into from
Sep 5, 2024

Conversation

potuz
Copy link
Contributor

@potuz potuz commented Sep 5, 2024

This PR adds

  • A forkchoice helper to determine the PTC status of the current slot.
  • A withheld boolean to forkchoice nodes to signal that we have synced succesfully a PAYLOAD_WITHHELD message
  • A chain info wrapper that checks on forkchoice and otherwise returns information from the current cache if it's being synced.

@potuz potuz added the ePBS EIP-7732 label Sep 5, 2024
@potuz potuz requested a review from a team as a code owner September 5, 2024 12:34
@potuz potuz requested review from rkapka, nisdas and james-prysm and removed request for a team September 5, 2024 12:34
timestamp uint64 // The timestamp when the node was inserted.
ptcVote []primitives.PTCStatus // tracks the Payload Timeliness Committee (PTC) votes for the node
withheld bool // whether the builder sent a withheld message for this payload
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

withheld is not set today, but I take it you haven't implemented it yet

@potuz potuz merged commit b2f47ca into epbs Sep 5, 2024
16 checks passed
@potuz potuz deleted the forkchoice_payload branch September 5, 2024 15:53
potuz added a commit that referenced this pull request Sep 13, 2024
potuz added a commit that referenced this pull request Sep 18, 2024
potuz added a commit that referenced this pull request Sep 26, 2024
potuz added a commit that referenced this pull request Oct 7, 2024
potuz added a commit that referenced this pull request Oct 14, 2024
potuz added a commit that referenced this pull request Oct 16, 2024
potuz added a commit that referenced this pull request Oct 22, 2024
potuz added a commit that referenced this pull request Oct 28, 2024
potuz added a commit that referenced this pull request Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ePBS EIP-7732
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants