Skip to content

Commit

Permalink
Fix compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
rakanalh committed Jul 12, 2024
1 parent 1674078 commit d75d2a3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions crates/prover/src/runner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -412,8 +412,8 @@ where
da_data.iter_mut().for_each(|blob| {
blob.full_data();
});
let mut sequencer_commitments: Vec<SequencerCommitment> =
self.extract_sequencer_commitments(l1_block.header().hash(), da_data);
let sequencer_commitments: Vec<SequencerCommitment> =
self.extract_sequencer_commitments(l1_block.header().hash().into(), &mut da_data);

if sequencer_commitments.is_empty() {
info!("No sequencer commitment found at height {}", l1_height,);
Expand Down Expand Up @@ -527,9 +527,9 @@ where

fn extract_sequencer_commitments(
&self,
l1_block_hash: &[u8; 32],
da_data: Vec<<<Da as DaService>::Spec as DaSpec>::BlobTransaction>,
) -> Vec<SequencerCommitments> {
l1_block_hash: [u8; 32],
da_data: &mut [<<Da as DaService>::Spec as DaSpec>::BlobTransaction],
) -> Vec<SequencerCommitment> {
let mut sequencer_commitments = vec![];
// if we don't do this, the zk circuit can't read the sequencer commitments
da_data.iter_mut().for_each(|blob| {
Expand Down

0 comments on commit d75d2a3

Please sign in to comment.