Cache the bid instead of the block

This commit is contained in:
Eitan Seri- Levi
2026-01-30 14:10:28 -08:00
parent 4e04399e21
commit 63e1e26ea3
5 changed files with 58 additions and 71 deletions

View File

@@ -671,7 +671,8 @@ pub fn signature_verify_chain_segment<T: BeaconChainTypes>(
}
}
}
// TODO(gloas) make this work across both v1 and v2
// TODO(gloas) When implementing range and backfill sync for gloas
// we need a batch verify kzg function in the new da checker as well.
chain
.data_availability_checker
.v1()
@@ -1311,7 +1312,8 @@ impl<T: BeaconChainTypes> IntoExecutionPendingBlock<T> for RpcBlock<T::EthSpec>
let maybe_available_block = match &self {
RpcBlock::FullyAvailable(available_block) => {
// TODO(gloas) make this work across both v1 and v2
// TODO(gloas) when implementing sync for gloas we need a verify kzg function
// added to the new da checker as well.
chain
.data_availability_checker
.v1()