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

feat(sentry): base implementation for proposing blocks on a schedule #407

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

mattevans
Copy link
Member

@mattevans mattevans commented Nov 5, 2024

See #338

Adds the ability to build validator blocks on a schedule and/or interval. Uses produceBlockV3 to produce a block and persists new event (BEACON_API_ETH_V3_VALIDATOR_BLOCK) from it. Notable new fields outside of the common block data are:

  • execution_payload_value: Execution payload value in Wei. Use to determine relative value of execution payload.
  • consensus_payload_ value: Consensus rewards paid to the proposer for this block, in Wei. Use to determine relative value of consensus blocks.

As part of this PR, NewEventBlockFrom{DataVersion} has been refactored slightly to accept a BeaconBlock over a VersionedSignedBeaconBlock, allowing re-use by other event decorators.

Configured off by default, enable as per usual via sentry config.

@mattevans mattevans requested a review from Savid as a code owner November 5, 2024 06:18
@mattevans mattevans marked this pull request as draft November 5, 2024 06:19
@mattevans mattevans self-assigned this Nov 6, 2024
@mattevans mattevans marked this pull request as ready for review November 6, 2024 05:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants