diff --git a/bin/host/src/eigenda_fetcher/mod.rs b/bin/host/src/eigenda_fetcher/mod.rs index b2f3663..7070cb6 100644 --- a/bin/host/src/eigenda_fetcher/mod.rs +++ b/bin/host/src/eigenda_fetcher/mod.rs @@ -152,7 +152,7 @@ where // Acquire a lock on the key-value store and set the preimages. let mut kv_write_lock = self.kv_store.write().await; - // the fourth because 0x01010000 in the beginnin is metadata + // the fourth because 0x01010000 in the beginning is metadata let rollup_data_len = rollup_data.len() as u32; let item_slice = cert.as_ref(); let cert_blob_info = BlobInfo::decode(&mut &item_slice[4..]).unwrap(); diff --git a/crates/eigenda/src/certificate.rs b/crates/eigenda/src/certificate.rs index afcb198..03e712d 100644 --- a/crates/eigenda/src/certificate.rs +++ b/crates/eigenda/src/certificate.rs @@ -3,6 +3,9 @@ use alloy_rlp::{RlpDecodable, RlpEncodable}; use alloc::vec::Vec; +// ToDo use prost to generate struct from proto file +// see seggestion, https://github.com/Layr-Labs/hokulea/pull/17#discussion_r1901102921 + #[derive(Debug, PartialEq, Clone, RlpEncodable, RlpDecodable)] pub struct G1Commitment { pub x: [u8; 32],