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

TSDK-811 Added Height Field to Bifrost Monitor #191

Merged
merged 2 commits into from
May 28, 2024
Merged

Conversation

DiademShoukralla
Copy link
Collaborator

Purpose

Add a height field in the Bifrost monitor stream

Approach

We already queried bifrost for the Transactions. We utilized this call to retrieve the height from the header as well

Testing

  • Verified accuracy of returned heights in the existing tests
  • These tests found a bug (now fixed) that there was a gap in between reporting retroactive blocks and live blocks. The reason is because .blockByDepth(1) did not return the tip of the chain. This was replaced with blockByDepth(0).

Tickets

  • closes TSDK-811

@DiademShoukralla DiademShoukralla self-assigned this May 24, 2024
Copy link
Contributor

Test Results

207 tests  ±0   207 ✅ ±0   2m 45s ⏱️ +11s
 20 suites ±0     0 💤 ±0 
 20 files   ±0     0 ❌ ±0 

Results for commit 6a5c782. ± Comparison against base commit 24b43c9.

@DiademShoukralla DiademShoukralla marked this pull request as ready for review May 24, 2024 12:53
Copy link
Contributor

@mundacho mundacho left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@DiademShoukralla DiademShoukralla merged commit 4a4b09e into main May 28, 2024
5 checks passed
@DiademShoukralla DiademShoukralla deleted the TSDK-811 branch May 28, 2024 14:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants