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

Cleanup wallet tests #3230

Merged
merged 2 commits into from
Jul 24, 2024
Merged

Cleanup wallet tests #3230

merged 2 commits into from
Jul 24, 2024

Conversation

StephenButtolph
Copy link
Contributor

Why this should be merged

Currently the wallet tests manually add and subtract different input/output amounts to calculate the expected fees. This PR replaces this with a few helpers that can ensure that the fees are paid correctly.

How this works

Improves readability of the tests.

How this was tested

  • CI

@StephenButtolph StephenButtolph added testing This primarily focuses on testing cleanup Code quality improvement labels Jul 24, 2024
@StephenButtolph StephenButtolph added this to the v1.11.10 milestone Jul 24, 2024
@StephenButtolph StephenButtolph self-assigned this Jul 24, 2024
wallet/chain/p/builder_test.go Show resolved Hide resolved
@StephenButtolph StephenButtolph added this pull request to the merge queue Jul 24, 2024
Merged via the queue into master with commit 1b4c632 Jul 24, 2024
20 checks passed
@StephenButtolph StephenButtolph deleted the cleanup-wallet-tests branch July 24, 2024 20:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cleanup Code quality improvement testing This primarily focuses on testing
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants