diff --git a/crates/storage/provider/src/test_utils/mock.rs b/crates/storage/provider/src/test_utils/mock.rs index 4ee0ccc56b..3c44f1aa06 100644 --- a/crates/storage/provider/src/test_utils/mock.rs +++ b/crates/storage/provider/src/test_utils/mock.rs @@ -566,30 +566,30 @@ impl StateProviderFactory for MockEthProvider { } fn history_by_block_number(&self, _block: BlockNumber) -> RethResult> { - todo!() + Ok(Box::new(self.clone())) } fn history_by_block_hash(&self, _block: BlockHash) -> RethResult> { - todo!() + Ok(Box::new(self.clone())) } fn state_by_block_hash(&self, _block: BlockHash) -> RethResult> { - todo!() + Ok(Box::new(self.clone())) } fn pending(&self) -> RethResult> { - todo!() + Ok(Box::new(self.clone())) } fn pending_state_by_hash(&self, _block_hash: B256) -> RethResult>> { - todo!() + Ok(Some(Box::new(self.clone()))) } fn pending_with_provider<'a>( &'a self, _post_state_data: Box, ) -> RethResult> { - todo!() + Ok(Box::new(self.clone())) } } @@ -599,30 +599,30 @@ impl StateProviderFactory for Arc { } fn history_by_block_number(&self, _block: BlockNumber) -> RethResult> { - todo!() + Ok(Box::new(self.clone())) } fn history_by_block_hash(&self, _block: BlockHash) -> RethResult> { - todo!() + Ok(Box::new(self.clone())) } fn state_by_block_hash(&self, _block: BlockHash) -> RethResult> { - todo!() + Ok(Box::new(self.clone())) } fn pending(&self) -> RethResult> { - todo!() + Ok(Box::new(self.clone())) } fn pending_state_by_hash(&self, _block_hash: B256) -> RethResult>> { - todo!() + Ok(Some(Box::new(self.clone()))) } fn pending_with_provider<'a>( &'a self, _post_state_data: Box, ) -> RethResult> { - todo!() + Ok(Box::new(self.clone())) } }