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: Use int64 for satoshi amount configs #51

Merged
merged 3 commits into from
Oct 14, 2024

Conversation

vitsalis
Copy link
Member

@vitsalis vitsalis commented Oct 12, 2024

The libraries that we depend to use int64 for satoshi amount denominations. To be fully compatible with them,
it is better if we use similar types instead of doing conversions.

Further, this PR fixes some other type conversions and minor errors found by gosec.

Edit: tried to bump babylon dependency as well, but needs a version to be released first.

@vitsalis vitsalis force-pushed the vitsalis/satoshi-config-int64 branch from bf8da90 to 16687b8 Compare October 12, 2024 13:25
@vitsalis vitsalis changed the title chore: Use int64 for fee config and bump to latest Babylon chore: Use int64 for satoshi amount configs Oct 12, 2024
staker/stakerapp.go Outdated Show resolved Hide resolved
The libraries that we depend to use int64 for satoshi amount
denominations. To be fully compatible with them,
it is better if we use similar types instead of doing conversions.

Further, this PR fixes some other type conversions and
minor errors found by gosec.
@vitsalis vitsalis force-pushed the vitsalis/satoshi-config-int64 branch from d31535c to c1299c4 Compare October 14, 2024 09:59
@vitsalis vitsalis merged commit 61ba909 into main Oct 14, 2024
12 checks passed
@vitsalis vitsalis deleted the vitsalis/satoshi-config-int64 branch October 14, 2024 13:57
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.

2 participants