Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add blockfrost mode to hydra-chain-observer #1631

Merged
merged 43 commits into from
Oct 9, 2024

Commits on Oct 9, 2024

  1. Configuration menu
    Copy the full SHA
    bea35a7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    18f3969 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    216c3da View commit details
    Browse the repository at this point in the history
  4. Draft roll forward and backward

    Reusing logic from ouroborus client.
    ffakenz committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    7ba0608 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    016d2c5 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    7c95078 View commit details
    Browse the repository at this point in the history
  7. Enhance Draft by using ExceptT

    Also remove unnecessary Adapters given
    we are going to deserialize from CBOR.
    ffakenz committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    6b4b97d View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    e17d570 View commit details
    Browse the repository at this point in the history
  9. Derive network id from blockfrost project

    Also calculate the block time based on genesis info.
    ffakenz committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    0237f3d View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    579c62b View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    cff93ea View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    f1e2921 View commit details
    Browse the repository at this point in the history
  13. Refactor options

    * Replaced chain point by block hash: used to start observing from chain.
    * Removed unnecessary network id: this is derived from the API Project.
    * Added project file path: instead of using env var.
    ffakenz committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    d8fcb9d View commit details
    Browse the repository at this point in the history
  14. Draft README

    ffakenz committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    4dc6d12 View commit details
    Browse the repository at this point in the history
  15. Remove unnecessary helper

    To convert a ChainPoint to a Blockfrost BlockHash.
    ffakenz committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    1b2b870 View commit details
    Browse the repository at this point in the history
  16. Minor formatting changes

    ffakenz committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    d667b09 View commit details
    Browse the repository at this point in the history
  17. Enhance error handling

    ffakenz committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    6915caa View commit details
    Browse the repository at this point in the history
  18. Update CHANGELOG

    ffakenz committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    933bf34 View commit details
    Browse the repository at this point in the history
  19. Minor formatting changes

    ffakenz committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    5870cd0 View commit details
    Browse the repository at this point in the history
  20. Break down loop into roll-forward and iterative processes

    Now tracking the latest known block and UTxO view for retries.
    ffakenz committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    8f70483 View commit details
    Browse the repository at this point in the history
  21. Minor formatting changes

    ffakenz committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    0285b8b View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    372be9a View commit details
    Browse the repository at this point in the history
  23. Enhance observer options

    Now it takes 2 subcommands
    * direct
    * blockfrost
    ffakenz committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    7e6818c View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    862ef43 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    c8b7136 View commit details
    Browse the repository at this point in the history
  26. update flake lock

    ffakenz committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    2aff6d3 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    cb79451 View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    dffcec8 View commit details
    Browse the repository at this point in the history
  29. Replace ExceptT by MonadThrow

    Because: There is no sound way to handle async exceptions with ExceptT.
    We should never be mixing runtime exceptions thrown with throwIO and ExceptT.
    
    ExceptT is also discourage to be used by our coding standard.
    ffakenz committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    8c58a8f View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    caa7cd0 View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    137c243 View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    136934c View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    4196663 View commit details
    Browse the repository at this point in the history
  34. fix after rebase

    ffakenz committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    ff16daa View commit details
    Browse the repository at this point in the history
  35. Enhance blockfrost mode invocation sample

    Co-authored-by: Noon <[email protected]>
    ffakenz and noonio committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    0d3d8ad View commit details
    Browse the repository at this point in the history
  36. Update CHANGELOG

    ffakenz committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    e13614a View commit details
    Browse the repository at this point in the history
  37. Refactor options to made them more type-safety

    Annoying, but such is life.
    ffakenz committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    05bb872 View commit details
    Browse the repository at this point in the history
  38. Remove spy calls

    ffakenz committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    579f0c0 View commit details
    Browse the repository at this point in the history
  39. Configuration menu
    Copy the full SHA
    b08a384 View commit details
    Browse the repository at this point in the history
  40. Add blockfrost smoke test

    ffakenz committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    9358126 View commit details
    Browse the repository at this point in the history
  41. Revert "Add blockfrost smoke test"

    This reverts commit a17a20f.
    ffakenz committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    49cea28 View commit details
    Browse the repository at this point in the history
  42. Revert "Extend smoke tests with check observations"

    This reverts commit 2474c5b.
    ffakenz committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    e97bd04 View commit details
    Browse the repository at this point in the history
  43. Configuration menu
    Copy the full SHA
    4793f95 View commit details
    Browse the repository at this point in the history