Skip to content

Commit

Permalink
fix comments from PR 17
Browse files Browse the repository at this point in the history
  • Loading branch information
immersify-app authored and samlaf committed Jan 2, 2025
1 parent 571efb0 commit 12a0b47
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion bin/host/src/eigenda_fetcher/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
3 changes: 3 additions & 0 deletions crates/eigenda/src/certificate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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],
Expand Down

0 comments on commit 12a0b47

Please sign in to comment.