Skip to content

Conversation

marcindsobczak
Copy link
Contributor

Changes

  • fix ForkchoiceUpdatedV1Result in simulated block production scenarios
    Currently, during simulated block production (when payload attributes are added by us), we return a payloadId even though it wasn't requested by CL. This PR corrects that behavior by returning null in such cases, ensuring the simulation remains internal to Nethermind and is not exposed to the CL.

Types of changes

What types of changes does your code introduce?

  • Bugfix (a non-breaking change that fixes an issue)
  • New feature (a non-breaking change that adds functionality)
  • Breaking change (a change that causes existing functionality not to work as expected)
  • Optimization
  • Refactoring
  • Documentation update
  • Build-related changes
  • Other: Description

Testing

Requires testing

  • Yes
  • No

Copy link
Member

@LukaszRozmej LukaszRozmej left a comment

Choose a reason for hiding this comment

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

Small improvement

Co-authored-by: Lukasz Rozmej <lukasz.rozmej@gmail.com>
@marcindsobczak marcindsobczak merged commit 56fd892 into master Apr 9, 2025
80 checks passed
@marcindsobczak marcindsobczak deleted the fix/fcu_response branch April 9, 2025 12:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants