some claude progress

This commit is contained in:
Daniel Knopik
2026-04-28 17:00:42 +02:00
parent 4ef4c7ddd4
commit 3772d2fa5b
4 changed files with 198 additions and 585 deletions

View File

@@ -57,13 +57,6 @@ impl<T: BeaconChainTypes> BeaconChain<T> {
);
}
self.data_availability_checker
.pending_payload_cache()
.put_pre_executed_payload_envelope(
unverified_envelope.envelope_cloned(),
envelope_source,
)?;
let _full_timer = metrics::start_timer(&metrics::ENVELOPE_PROCESSING_TIMES);
metrics::inc_counter(&metrics::ENVELOPE_PROCESSING_REQUESTS);
@@ -95,11 +88,6 @@ impl<T: BeaconChainTypes> BeaconChain<T> {
// If the envelope fails execution for whatever reason (e.g. engine offline),
// and we keep it in the cache, then the node will NOT perform lookup and
// reprocess this envelope until the envelope is evicted from DA checker, causing the
// chain to get stuck temporarily if the envelope is canonical. Therefore we remove
// it from the cache if execution fails.
self.data_availability_checker
.pending_payload_cache()
.remove_pre_executed_payload_envelope(&block_root);
})?;
// Record the time it took to wait for execution layer verification.

File diff suppressed because it is too large Load Diff

View File

@@ -3,6 +3,7 @@ use ssz_types::VariableList;
use std::sync::Arc;
use types::{Cell, ColumnIndex, DataColumnSidecar, DataColumnSidecarGloas, EthSpec, Hash256, Slot};
#[derive(Clone)]
pub struct PendingColumn<E: EthSpec> {
cells: Vec<Option<(Cell<E>, KzgProof)>>,
}

View File

@@ -9,10 +9,7 @@ use std::collections::HashMap;
use std::sync::Arc;
use tracing::{Span, debug, debug_span};
use types::Slot;
use types::{
ChainSpec, ColumnIndex, DataColumnSidecar, Epoch, EthSpec, Hash256,
SignedExecutionPayloadEnvelope,
};
use types::{ChainSpec, ColumnIndex, Epoch, EthSpec, Hash256};
/// This represents the components of a payload pending data availability.
///