Page MenuHomePhabricator

[avalanche] Add coins directly instead of using coinbases in processor unit tests
ClosedPublic

Authored by sdulfari on Aug 3 2022, 07:57.

Details

Summary

Using the coinbases was efficient since they are already available in the test, but this will break if/when the dust treshold exceeds the coinbase reward. This patch replaces that implementation of GetProof() with one that adds the coins directly with the minimum amount instead of using the coinbases.

Test Plan
ninja check-avalanche

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

sdulfari requested review of this revision.Aug 3 2022, 07:57
The build failed due to an unexpected infrastructure outage. The administrators have been notified to investigate. Sorry for the inconvenience.
The build failed due to an unexpected infrastructure outage. The administrators have been notified to investigate. Sorry for the inconvenience.
The build failed due to an unexpected infrastructure outage. The administrators have been notified to investigate. Sorry for the inconvenience.
The build failed due to an unexpected infrastructure outage. The administrators have been notified to investigate. Sorry for the inconvenience.
The build failed due to an unexpected infrastructure outage. The administrators have been notified to investigate. Sorry for the inconvenience.
The build failed due to an unexpected infrastructure outage. The administrators have been notified to investigate. Sorry for the inconvenience.
This revision is now accepted and ready to land.Aug 3 2022, 13:16