Skip to content

Commit

Permalink
fix debug
Browse files Browse the repository at this point in the history
  • Loading branch information
YaroShkvorets committed Feb 22, 2024
1 parent 6dcb76e commit 6af420a
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions eth.blobs/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,13 @@ fn map_blobs(blk: BeaconBlock) -> Result<Blobs, substreams::errors::Error> {
Deneb(body) => body
.embedded_blobs
.into_iter()
.inspect(|_| {
substreams::log::info!(
"blk.timestamp: {}",
match blk.timestamp.clone() {
Some(ts) => ts,
None => Default::default(),
}
)
})
.inspect(|_| substreams::log::info!("blk.timestamp: {}", blk.timestamp.clone().unwrap_or_default()))
.map(|b| Blob {
slot: blk.slot,
timestamp: blk.timestamp.clone(),
index: b.index as u32,
length: b.blob.len() as u32,
data: vec![], // b.blob,
data: b.blob,
kzg_commitment: b.kzg_commitment,
kzg_proof: b.kzg_proof,
})
Expand Down

0 comments on commit 6af420a

Please sign in to comment.