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

chore: Bitcoin heights and depths made uint32 #181

Merged
merged 1 commit into from
Oct 11, 2024
Merged

Conversation

vitsalis
Copy link
Member

Resolves #179

This is an impactful change that brings the BTC height types that we use more in sync with the expected types for BTC block heights, similar to those that are used by other libraries. It is part of the code improvement efforts that we are doing in preparation of the next testnet.

Given that it touches many files, I believe that this change should happen sooner than later so that it can be appropriately tested.

@vitsalis vitsalis requested a review from a team as a code owner October 11, 2024 09:39
@vitsalis vitsalis requested review from RafilxTenfen and gitferry and removed request for a team October 11, 2024 09:39
@KonradStaniec KonradStaniec added the consensus breaking change modifies `appHash` of the application label Oct 11, 2024
Copy link
Collaborator

@KonradStaniec KonradStaniec left a comment

Choose a reason for hiding this comment

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

looks good 👍

CHANGELOG.md Outdated Show resolved Hide resolved
Copy link
Member

@gitferry gitferry left a comment

Choose a reason for hiding this comment

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

LGTM! Do we want to make the same change to auxiliary programs?

@vitsalis
Copy link
Member Author

LGTM! Do we want to make the same change to auxiliary programs?

yep, I expect this can be handled when auxiliary programs are updated to the latest Babylon.

@vitsalis vitsalis merged commit d0eca74 into main Oct 11, 2024
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
consensus breaking change modifies `appHash` of the application
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use uint32 for BTC header heights and depths
4 participants