Skip to content

Commit ca71263

Browse files
committed
chore: add todo
1 parent e4f495a commit ca71263

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

node/bin/src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,8 @@ pub async fn run<State: ReadStateHistory + WriteState + StateInitializer + Clone
244244
)
245245
.await;
246246

247+
// todo: this can take a while; ideally committed batches should be loaded in the background
248+
// and then `get()` method can be made async so that it waits for relevant batch to load
247249
let committed_batch_provider = CommittedBatchProvider::init(
248250
&l1_state,
249251
config.l1_watcher_config.max_blocks_to_process,

0 commit comments

Comments
 (0)