Page MenuHomePhabricator

[avalanche] Convert the test utils to use proof shared pointers
ClosedPublic

Authored by Fabien on Oct 14 2021, 15:55.

Details

Reviewers
deadalnix
Group Reviewers
Restricted Project
Maniphest Tasks
Restricted Maniphest Task
Commits
rABCf4a939da3827: [avalanche] Convert the test utils to use proof shared pointers
Summary

This is what is used almost everywhere in the API, so converting the test facilities removes the need for a lot of std::make_shared<Proof>().

Note that buildRandomProofRef would be a better name after D10342, so I didn't rename the function in this diff.

Ref T1854.

Test Plan
ninja check

Diff Detail