10 Commits

Author SHA1 Message Date
Duke
37e35854ab Make tests always pass by ensuring there is only 1 coinbase utxo to shield 2025-10-16 01:10:33 -04:00
Duke
6069a49508 WIP donation tests
These tests sometimes fail because sometimes a different amount is shielded (3 vs 3+fee)
which makes the expected amounts of sendAmount and donationAmount incorrect. The code
to calculate donations seems to work correctly but the tests need a bit more improvement.

When the tests pass:
DEBUG:RPC:<-43- {"remainingUTXOs": 1, "remainingValue": "3.00010000", "shieldingUTXOs": 1, "shieldingValue": "3.00000000", "donation": 5, "opid": "opid-868c81ad-885b-42b4-af85-dafa54e695a2"}

When they fail:
DEBUG:RPC:<-43- {"remainingUTXOs": 1, "remainingValue": "3.00000000", "shieldingUTXOs": 1, "shieldingValue": "3.00010000", "donation": 5, "opid": "opid-143309b6-e25a-45d6-9c0c-311f1f61de78"}
2025-10-15 13:26:50 -04:00
Duke
e73251ad92 WIP donation test 2025-10-14 22:29:10 -04:00
Duke
fc7aa68203 Refactor donation test now that we are using just one node 2025-10-14 14:24:37 -04:00
Duke
69dadd1128 Better tests; use current drgx block reward and default fee 2025-10-14 13:19:18 -04:00
Duke
ebde772ada WIP donation test 2025-10-14 11:52:05 -04:00
Duke
caf7178ffd Allow donation=0 2025-10-14 10:57:40 -04:00
Duke
75564c82ac Failing test for shielded donation 2025-10-14 04:16:15 -04:00
Duke
61bae5fb7b WIP donation test 2025-10-14 03:49:06 -04:00
Duke
23ef00cfd7 WIP donation test 2025-10-13 18:21:51 -04:00