HomePhabricator

[avalanche] Use proof dust threshold in unit tests instead of low coin amounts

Description

[avalanche] Use proof dust threshold in unit tests instead of low coin amounts

Summary:
This makes it much easier to bump PROOF_DUST_THRESHOLD without breaking tons of tests.
I did not update every conceivable Amount, but focused on those that will break if the
dust threshold is bumped by a factor of 10 to 100. Any further tweaks can be made by
that future patch.

Test Plan:

ninja check-avalanche

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D11746

Details

Provenance
sdulfariAuthored on Jul 13 2022, 21:34
sdulfariPushed on Jul 14 2022, 16:47
Reviewer
Restricted Project
Differential Revision
D11746: [avalanche] Use proof dust threshold in unit tests instead of low coin amounts
Parents
rABCd6361c2ff70e: [avalanche] Don't consider our local proof as dangling
Branches
Unknown
Tags
Unknown