Skip to content

Drop verify single RpcBlock fns #7008

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

Open
wants to merge 1 commit into
base: unstable
Choose a base branch
from

Conversation

dapplion
Copy link
Collaborator

Issue Addressed

Noted that we never have to verify individual RpcBlocks for sync. Lookup sync sends the block alone always, and range sync sends chain segments.

Proposed Changes

  • Removed verify_kzg_for_rpc_block
  • Removed IntoExecutionPendingBlock impl for RpcBlock. Now lookup sync blocks use the SignedBeaconBlock IntoExecutionPendingBlock impl which is the same
  • Switched tests to import RpcBlocks with process_chain_segment

@dapplion dapplion requested a review from jxs as a code owner February 18, 2025 04:01
@michaelsproul
Copy link
Member

Should we merge this before:

?

@michaelsproul michaelsproul added work-in-progress PR is a work-in-progress code-quality labels Feb 18, 2025
@dapplion
Copy link
Collaborator Author

Should we merge this before

Independent, I can fix conflicts later.

@dapplion dapplion force-pushed the drop-single-rpc-block-verify branch from 5d44eb0 to d1273da Compare March 12, 2025 06:05
@dapplion dapplion added ready-for-review The code is ready for review and removed work-in-progress PR is a work-in-progress labels Mar 12, 2025
Copy link

mergify bot commented May 19, 2025

This pull request has merge conflicts. Could you please resolve them @dapplion? 🙏

@mergify mergify bot added waiting-on-author The reviewer has suggested changes and awaits thier implementation. and removed ready-for-review The code is ready for review labels May 19, 2025
Copy link

mergify bot commented May 19, 2025

Some required checks have failed. Could you please take a look @dapplion? 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code-quality waiting-on-author The reviewer has suggested changes and awaits thier implementation.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants