Remove dumb artificial delay

This commit is contained in:
Eitan Seri- Levi
2026-03-03 20:22:30 -08:00
parent 16e7bb5f1d
commit e8d83ef57f
5 changed files with 21 additions and 25 deletions

View File

@@ -115,7 +115,6 @@ use state_processing::{
per_slot_processing,
state_advance::{complete_state_advance, partial_state_advance},
};
use types::consts::gloas::PAYLOAD_STATUS_FULL;
use std::borrow::Cow;
use std::cmp::Ordering;
use std::collections::HashMap;
@@ -133,6 +132,7 @@ use task_executor::{RayonPoolType, ShutdownReason, TaskExecutor};
use tokio_stream::Stream;
use tracing::{Span, debug, debug_span, error, info, info_span, instrument, trace, warn};
use tree_hash::TreeHash;
use types::consts::gloas::PAYLOAD_STATUS_FULL;
use types::data::{ColumnIndex, FixedBlobSidecarList};
use types::execution::BlockProductionVersion;
use types::*;
@@ -2089,7 +2089,8 @@ impl<T: BeaconChainTypes> BeaconChain<T> {
});
}
if proto_block.slot < request_slot && proto_block.payload_status == PAYLOAD_STATUS_FULL {
if proto_block.slot < request_slot && proto_block.payload_status == PAYLOAD_STATUS_FULL
{
1
} else {
0
@@ -2148,7 +2149,11 @@ impl<T: BeaconChainTypes> BeaconChain<T> {
&self.spec,
)?;
if self.spec.fork_name_at_slot::<T::EthSpec>(request_slot).gloas_enabled() {
if self
.spec
.fork_name_at_slot::<T::EthSpec>(request_slot)
.gloas_enabled()
{
attestation.data_mut().index = payload_status
}