Resolve merge conflicts

This commit is contained in:
Eitan Seri- Levi
2026-03-16 02:24:50 -07:00
270 changed files with 16594 additions and 8798 deletions

View File

@@ -20,7 +20,7 @@ use tracing::{debug, instrument};
use types::data::ColumnIndex;
use types::{
BeaconStateError, ChainSpec, DataColumnSidecar, DataColumnSidecarFulu, DataColumnSubnetId,
EthSpec, Hash256, Slot,
EthSpec, Hash256, Slot, StatePayloadStatus,
};
/// An error occurred while validating a gossip data column.
@@ -498,7 +498,6 @@ where
Ok(())
}
// TODO(gloas) make sure the gloas variant uses the same span name
#[instrument(
skip_all,
name = "validate_data_column_sidecar_for_gossip",
@@ -710,9 +709,16 @@ fn verify_proposer_and_signature<T: BeaconChainTypes>(
index = %column_index,
"Proposer shuffling cache miss for column verification"
);
// We assume that the `Pending` state has the same shufflings as a `Full` state
// for the same block. Analysis: https://hackmd.io/@dapplion/gloas_dependant_root
chain
.store
.get_advanced_hot_state(block_parent_root, column_slot, parent_block.state_root)
.get_advanced_hot_state(
block_parent_root,
StatePayloadStatus::Pending,
column_slot,
parent_block.state_root,
)
.map_err(|e| GossipDataColumnError::BeaconChainError(Box::new(e.into())))?
.ok_or_else(|| {
GossipDataColumnError::BeaconChainError(Box::new(