Skip to content

Conversation

@hangleang
Copy link
Collaborator

after #484

@hangleang hangleang force-pushed the feature/validate-payload-bid branch 2 times, most recently from c0de6fb to 045c02d Compare November 21, 2025 06:43
@hangleang hangleang marked this pull request as ready for review November 21, 2025 06:43
@hangleang hangleang force-pushed the epbs branch 2 times, most recently from 968d5ac to 2a96e60 Compare November 28, 2025 03:09
@hangleang hangleang force-pushed the feature/validate-payload-bid branch from 045c02d to 37838ce Compare November 28, 2025 03:59
@hangleang hangleang changed the title Feature/validate payload bid Handle execution payload bid Nov 28, 2025
@hangleang hangleang force-pushed the feature/validate-payload-bid branch 2 times, most recently from b48f2f3 to b2d4e5e Compare December 4, 2025 09:04
@hangleang hangleang force-pushed the feature/validate-payload-bid branch from b2d4e5e to 9195a6e Compare December 4, 2025 10:09
@hangleang hangleang added the epbs label Dec 5, 2025
@hangleang hangleang force-pushed the feature/validate-payload-bid branch from 29d9529 to 3267ce3 Compare December 10, 2025 04:42
)
}

fn spawn_execution_payload_bid_task_with_wait_group(
Copy link
Collaborator

@povi povi Dec 10, 2025

Choose a reason for hiding this comment

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

No need to have a separate spawn_execution_payload_bid_task_with_wait_group method if you don't plan to use it again somewhere else


impl<P: Preset, E, W> Spawn<P, E, W> for ExecutionPayloadBidTask<P, W> {
fn spawn(self, critical: &mut Critical<P, E, W>) {
critical.low_priority_tasks.push_back(self.into())
Copy link
Collaborator

Choose a reason for hiding this comment

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

I'm not sure if it should be low or mid priority task

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I will mark TODO there to figure out later

let builder_index = bid.builder_index;

// > off-protocol payment is disallowed in gossip, the `bid.execution_payment` MUST be zero
if origin.is_from_gossip() {
Copy link
Collaborator

Choose a reason for hiding this comment

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

What about bids from POST /eth/v1/beacon/execution_payload_bid? Are they allowed to have non-zero execution_payment?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

bid submitted from the API need to pass the gossip validations, so it should also disallow

@hangleang hangleang merged commit c90ba02 into grandinetech:epbs Dec 11, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants