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

use forkChoiceUpdatedV4 with PayloadAttributesV4 #8752

Conversation

mehdi-aouadi
Copy link
Contributor

@mehdi-aouadi mehdi-aouadi commented Oct 18, 2024

PR Description

Use engine_forkChoiceUpdatedV4
This PR should not be merged before the devnet-5 launch

Fixed Issue(s)

fixes #8745

Documentation

  • I thought about documentation and added the doc-change-required label to this PR if updates are required.

Changelog

  • I thought about adding a changelog entry, and added one if I deemed necessary.

@mehdi-aouadi mehdi-aouadi added the DO NOT MERGE Not ready to merge label Oct 18, 2024
@mehdi-aouadi mehdi-aouadi self-assigned this Oct 18, 2024
Comment on lines +252 to +253
maxBlobsPerBlock.map(maxBlobs -> maxBlobs.dividedBy(2)),
maxBlobsPerBlock));
Copy link
Member

Choose a reason for hiding this comment

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

We probably want to have a unit test for this part of the code on ProposerDataManagerTest.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I updated the ForkChoiceNotifierTest instead and added the new PayloadBuildingAttributes fields. I guess that's enough to cover the new code path

@lucassaldanha
Copy link
Member

I think the changes look good. I just added a comment regarding a missing unit test and it looks like there are some other test failures to check.

@lucassaldanha lucassaldanha changed the base branch from master to electra-devnet-5 October 18, 2024 10:23
@mehdi-aouadi mehdi-aouadi removed the DO NOT MERGE Not ready to merge label Oct 18, 2024
@lucassaldanha lucassaldanha merged commit 3688e09 into Consensys:electra-devnet-5 Oct 21, 2024
15 checks passed
@mehdi-aouadi mehdi-aouadi deleted the 8745-uncouple-blobs-limit-cl branch October 25, 2024 16:49
mehdi-aouadi added a commit to mehdi-aouadi/teku that referenced this pull request Oct 31, 2024
mehdi-aouadi added a commit that referenced this pull request Nov 4, 2024
* Decouple block and blobs publishing\import (#8728)

* use correct schema definitions when creation full beacon block (#8806)

* use correct schema definitions when creation full beacon block

* use forkChoiceUpdatedV4 with PayloadAttributesV4 (#8752) (#8799)

---------

Co-authored-by: Enrico Del Fante <[email protected]>
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.

EIP-7742: Uncouple blob limits per block across CL and EL
2 participants