Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
ncitron committed Jan 14, 2024
1 parent 6ef35d9 commit 159d34a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
16 changes: 9 additions & 7 deletions src/derive/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -120,14 +120,16 @@ mod tests {

chain_watcher.start().unwrap();


let provider = Provider::try_from(env::var("L2_TEST_RPC_URL").unwrap()).unwrap();
let state = Arc::new(RwLock::new(State::new(
config.chain.l2_genesis,
config.chain.l1_start_epoch,
&provider,
config.clone(),
).await));
let state = Arc::new(RwLock::new(
State::new(
config.chain.l2_genesis,
config.chain.l1_start_epoch,
&provider,
config.clone(),
)
.await,
));

let mut pipeline = Pipeline::new(state.clone(), config.clone(), 0).unwrap();

Expand Down
2 changes: 1 addition & 1 deletion src/derive/stages/batches.rs
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ where
Ordering::Less => {
tracing::warn!("past batch");
return BatchStatus::Drop;
},
}
Ordering::Equal => (),
}

Expand Down

0 comments on commit 159d34a

Please sign in to comment.