pub trait L2Data: Send + Sync {
// Required methods
fn latest_height(&self) -> StorageResult<BlockHeight>;
fn get_block(
&self,
height: &BlockHeight,
) -> StorageResult<Option<Block<Transaction>>>;
}
pub trait L2Data: Send + Sync {
// Required methods
fn latest_height(&self) -> StorageResult<BlockHeight>;
fn get_block(
&self,
height: &BlockHeight,
) -> StorageResult<Option<Block<Transaction>>>;
}