input-output-hk / hermes

🏛️ Hermes is a high-availability blockchain voting database that acts as a distributed storage and event processor for voting events, proposals, and actions.
https://input-output-hk.github.io/hermes
Apache License 2.0
14 stars 2 forks source link

🛠️ [TASK] : Investigate the `get_block` in `cardano-chain-follower` #333

Closed bkioshn closed 1 month ago

bkioshn commented 1 month ago

Summary

Investigate the get_block in cardano-chain-follower

Description

Investigate the get_block in cardano-chain-follower/src/follow.rs

This ticket includes

Expecting behaviour: This function is expected to return a Option of ChainUpdate if the provided slot point is given. The examples/follow_chains.rs can be used to test the follower. If the --stop-at-tip is set. It is expected to stop at the given slot point. However, the expected behaviour is not met.

Note that Point::fuzzy can be used instead of Point::new()