Add initial coordinator e2e tests

This commit is contained in:
Luke Parker
2023-08-01 19:00:48 -04:00
parent e3a70ef0dc
commit d5c787fea2
15 changed files with 314 additions and 6 deletions

View File

@@ -313,6 +313,7 @@ pub async fn handle_new_blocks<
let mut latest = Some(latest);
for b in (*last_block + 1) ..= latest_number {
log::info!("found substrate block {b}");
handle_block(
db,
key,
@@ -331,6 +332,7 @@ pub async fn handle_new_blocks<
.await?;
*last_block += 1;
db.set_last_block(*last_block);
log::info!("handled substrate block {b}");
}
Ok(())