Skip to content

Conversation

StefanBratanov
Copy link
Contributor

@StefanBratanov StefanBratanov commented Sep 18, 2025

PR Description

Related to ethereum/consensus-specs#4525

Reference tests haven't been released yet, so ignored for Gloas. Can re-enable after we merge the BeaconState change. Raised an issue for tracking #9915 . For the moment, we can ignore the failing check-specrefs.

Fixed Issue(s)

N/A

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.

@StefanBratanov StefanBratanov changed the title Introduce ExecutionPayloadBid for Gloas Introduce ExecutionPayloadBid for Gloas Sep 18, 2025
@StefanBratanov StefanBratanov force-pushed the execution_payload_bid_gloas branch 2 times, most recently from 51d667f to 1c05a55 Compare September 19, 2025 07:56
Copy link
Contributor

@tbenr tbenr left a comment

Choose a reason for hiding this comment

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

LGTM. just a question

*/

package tech.pegasys.teku.spec.datastructures.execution.versions.gloas;
package tech.pegasys.teku.spec.datastructures.epbs.versions.gloas;
Copy link
Contributor

Choose a reason for hiding this comment

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

why epbs package here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

it's a new package we introduced for all epbs objects, we could move them around in the future.

Copy link
Contributor

Choose a reason for hiding this comment

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

If it is temporary, ok:)

@StefanBratanov StefanBratanov enabled auto-merge (squash) September 19, 2025 20:20
@StefanBratanov StefanBratanov force-pushed the execution_payload_bid_gloas branch from a3a8392 to 148e15e Compare September 19, 2025 20:20
randomSlot(),
randomUInt64(),
randomBytes32());
}
Copy link

Choose a reason for hiding this comment

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

Bug: Fee Recipient Type Mismatch

The randomExecutionPayloadBid() method calls an undefined randomEth1Address() for the feeRecipient, causing a compilation error. This also introduces a type inconsistency in ExecutionPayloadBid, where the constructor expects Bytes20 for feeRecipient but the getter returns Eth1Address.

Additional Locations (1)

Fix in Cursor Fix in Web

// No SignedExecutionPayloadHeader in phase 0
public BeaconBlockBodyBuilder signedExecutionPayloadBid(
final SignedExecutionPayloadBid signedExecutionPayloadBid) {
// No SignedExecutionPayloadBid in phase 0
Copy link

Choose a reason for hiding this comment

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

Bug: Builder Method Returns Null Instead Of This

The signedExecutionPayloadBid method in BeaconBlockBodyBuilderPhase0 returns null instead of this. This breaks the builder pattern, which could lead to NullPointerException if method calls are chained. Other unsupported builder methods in this class return this for consistency.

Fix in Cursor Fix in Web

@StefanBratanov StefanBratanov merged commit 53e35b6 into Consensys:master Sep 19, 2025
18 of 19 checks passed
@StefanBratanov StefanBratanov deleted the execution_payload_bid_gloas branch September 19, 2025 20:53
@github-actions github-actions bot locked and limited conversation to collaborators Sep 19, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants