mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-30 12:47:05 +00:00
some claude progress
This commit is contained in:
@@ -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
@@ -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)>>,
|
||||
}
|
||||
|
||||
@@ -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.
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user