forked from bisq-network/bisq
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add adjusted burn share assertions + test for inactive/expired BM
Add a missing test case for burning man candidates with fully expired compensation issuance or proofs-of-burn, or who are inactive because they have never carried out a proof-of-burn, to prevent regressions in the forthcoming capping algorithm code changes. Also add missing assertions for the expected 'adjustedBurnAmountShare' property of each candidate to the test cases. Note that these only affect the UI, including the displayed burn targets, not the actual BM revenue (DPT outputs or fee recipient selection), so we use approximate equality in the test assertions as usual for floating point expressions.
- Loading branch information
Showing
1 changed file
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters