Publish payload

This commit is contained in:
Eitan Seri- Levi
2026-02-03 20:28:28 -08:00
parent 1ed80fa35d
commit 25853847ef
9 changed files with 232 additions and 218 deletions

View File

@@ -1,7 +1,6 @@
use std::collections::HashMap;
use std::marker::PhantomData;
use std::sync::Arc;
use std::u64;
use bls::Signature;
use operation_pool::CompactAttestationRef;
@@ -179,6 +178,7 @@ impl<T: BeaconChainTypes> BeaconChain<T> {
}
#[allow(clippy::too_many_arguments)]
#[allow(clippy::type_complexity)]
fn produce_partial_beacon_block_gloas(
self: &Arc<Self>,
mut state: BeaconState<T::EthSpec>,
@@ -415,6 +415,7 @@ impl<T: BeaconChainTypes> BeaconChain<T> {
))
}
#[allow(clippy::type_complexity)]
fn complete_partial_beacon_block_gloas(
&self,
partial_beacon_block: PartialBeaconBlock<T::EthSpec>,

View File

@@ -1,4 +1,4 @@
use std::{sync::Arc, u64};
use std::sync::Arc;
use bls::Signature;
use execution_layer::{BlockProposalContentsType, BuilderParams};
@@ -34,6 +34,7 @@ impl<T: BeaconChainTypes> BeaconChain<T> {
///
/// For local building, payload data is always returned (`Some`).
/// For trustless building, the builder provides the envelope separately, so `None` is returned.
#[allow(clippy::type_complexity)]
#[instrument(level = "debug", skip_all)]
pub async fn produce_execution_payload_bid(
self: Arc<Self>,