From 58a4a8ea86bdf7e1e1f61231ded42e94c2887ff4 Mon Sep 17 00:00:00 2001 From: Dan Cline <6798349+Rjected@users.noreply.github.com> Date: Wed, 10 May 2023 18:02:41 -0400 Subject: [PATCH] fix: do not panic on safe, finalized BlockIdProvider (#2628) --- crates/storage/provider/src/providers/mod.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/crates/storage/provider/src/providers/mod.rs b/crates/storage/provider/src/providers/mod.rs index e6af92754b..92d4088b45 100644 --- a/crates/storage/provider/src/providers/mod.rs +++ b/crates/storage/provider/src/providers/mod.rs @@ -116,11 +116,13 @@ where Tree: BlockchainTreeViewer + Send + Sync, { fn safe_block_num(&self) -> Result> { - todo!() + // TODO: implement with canon chain tracker + Ok(None) } fn finalized_block_num(&self) -> Result> { - todo!() + // TODO: implement with canon chain tracker + Ok(None) } fn pending_block_num_hash(&self) -> Result> {