Skip to content

Commit

Permalink
chore(l1): alloy type port
Browse files Browse the repository at this point in the history
  • Loading branch information
refcell committed May 1, 2024
1 parent 89e8e2c commit e338fd3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/l1/chain_watcher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -330,8 +330,6 @@ impl InnerWatcher {
config.unsafe_block_signer = addr;
}
}

let update_block: u64 = update_block;
self.system_config_update = (update_block, Some(config));
} else {
self.system_config_update = (to_block, None);
Expand Down Expand Up @@ -480,8 +478,10 @@ impl InnerWatcher {
return Ok(batcher_transactions_data);
}

let timestamp: u64 = block.header.timestamp;
let slot = self.blob_fetcher.get_slot_from_time(timestamp).await?;
let slot = self
.blob_fetcher
.get_slot_from_time(block.header.timestamp)
.await?;

// perf: fetch only the required indexes instead of all
let blobs = self.blob_fetcher.fetch_blob_sidecars(slot).await?;
Expand Down

0 comments on commit e338fd3

Please sign in to comment.