-
Notifications
You must be signed in to change notification settings - Fork 671
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
Include tenure_height
in /new_block
event payload
#5333
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I haven't fully reviewed this, but I don't think that integration test is a good place for this, because there aren't any nakamoto blocks (ie without TenureChange) produced. check_block_info
might be a better place for this - just basically take the same assertions you have and move them to the end of that test?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Closes #5318
Part of hirosystems/explorer#1624 and hirosystems/stacks-blockchain-api#2124
Adds a
tenure_height
(AKAcoinbase_height
) to the/new_block
event payload.In epoch2.x this is the same value as
block_height
.