Page MenuHomePhabricator

[avalanche] Make buildRandomProof use a random payout script
ClosedPublic

Authored by roqqit on Aug 28 2024, 19:23.

Details

Reviewers
PiRK
Group Reviewers
Restricted Owners Package(Owns No Changed Paths)
Restricted Project
Commits
rABC7aafd2f1c1e7: [avalanche] Make buildRandomProof use a random payout script
Summary

It is easy to accidentally write tests assuming that buildRandomProof() will produce proofs with random payout scripts. This is not the case. There does not appear to be good case for random proofs to payout to UNSPENDABLE_ECREG_PAYOUT_SCRIPT considering all tests pass without any modification.

Test Plan
ninja check-avalanche

Diff Detail