mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-19 21:04:41 +00:00
Remove availability view trait (#5544)
* Move processing cache out of DA * Merge branch 'sigp/unstable' into non-da-processing-cach * Merge branch 'unstable' of https://github.com/sigp/lighthouse into non-da-processing-cache * remove unused file, remove outdated TODO, add is_deneb check to missing blob id calculations * remove availability view trait * Merge branch 'unstable' of https://github.com/sigp/lighthouse into remove-availability-view-trait * fix lints
This commit is contained in:
@@ -284,6 +284,9 @@ impl<E: EthSpec> KzgVerifiedBlob<E> {
|
||||
pub fn as_blob(&self) -> &BlobSidecar<E> {
|
||||
&self.blob
|
||||
}
|
||||
pub fn get_commitment(&self) -> &KzgCommitment {
|
||||
&self.blob.kzg_commitment
|
||||
}
|
||||
/// This is cheap as we're calling clone on an Arc
|
||||
pub fn clone_blob(&self) -> Arc<BlobSidecar<E>> {
|
||||
self.blob.clone()
|
||||
|
||||
Reference in New Issue
Block a user