Merge remote-tracking branch 'origin/payload-envelope-db' into gloas-data-availability-checker

This commit is contained in:
Eitan Seri- Levi
2026-01-28 20:33:42 -08:00
8 changed files with 181 additions and 3 deletions

View File

@@ -1301,6 +1301,13 @@ impl<T: BeaconChainTypes> BeaconChain<T> {
Ok(self.store.get_blinded_block(block_root)?)
}
pub fn get_payload_envelope(
&self,
block_root: &Hash256,
) -> Result<Option<SignedExecutionPayloadEnvelope<T::EthSpec>>, Error> {
Ok(self.store.get_payload_envelope(block_root)?)
}
/// Return the status of a block as it progresses through the various caches of the beacon
/// chain. Used by sync to learn the status of a block and prevent repeated downloads /
/// processing attempts.