You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A rbuilder is also running with a private mempool to build blocks. I try to put transactions with 0 priority fee in the private mempool. The validator always chooses its local block instead of the rbuilder block but it should always choose rbuilder block with --prefer-builder-proposals flag
Thanks in advance!
Version
v5.2.1
The text was updated successfully, but these errors were encountered:
If `prefer_builder_proposals` is true, set boost factor to `u64::MAX` to indicate a preference for builder payloads.
This would enhance the builder_boost_factor and ensure it consistently opts for the relay payload over the local one. However, the team set the builder_boost_factor to None before calling determine_and_fetch_payload when the block production version is BlindedV2. (beacon_node/execution_layer/src/lib.rs:840)
BlockProductionVersion::BlindedV2 => {
let _timer = metrics::start_timer_vec(
&metrics::EXECUTION_LAYER_REQUEST_TIMES,
&[metrics::GET_BLINDED_PAYLOAD],
);
self.determine_and_fetch_payload(
parent_hash,
payload_attributes,
forkchoice_update_params,
builder_params,
current_fork,
None, // this is builder_boost_factor
spec,
)
.await?
}
Description
As mentioned in the doc, using
--prefer-builder-proposals
flag should force validator client to always prefer blinded blocks, regardless of the payload value. I am using https://github.com/flashbots/builder-playground to create a local env and I add--prefer-builder-proposals
flag below line 408 of https://github.com/flashbots/builder-playground/blob/main/main.goA rbuilder is also running with a private mempool to build blocks. I try to put transactions with 0 priority fee in the private mempool. The validator always chooses its local block instead of the rbuilder block but it should always choose rbuilder block with
--prefer-builder-proposals
flagThanks in advance!
Version
v5.2.1
The text was updated successfully, but these errors were encountered: