Snapshot manifest block added to prometheus (#232)
Co-authored-by: adria0.eth <5526331+adria0@users.noreply.github.com>
This commit is contained in:
@@ -89,6 +89,12 @@ impl SnapshotService for TestSnapshotService {
|
||||
self.manifest.as_ref().cloned()
|
||||
}
|
||||
|
||||
fn manifest_block(&self) -> Option<(u64, H256)> {
|
||||
self.manifest
|
||||
.as_ref()
|
||||
.map(|manifest| (manifest.block_number, manifest.block_hash))
|
||||
}
|
||||
|
||||
fn supported_versions(&self) -> Option<(u64, u64)> {
|
||||
Some((1, 2))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user