Page MenuHomePhabricator

[avalanche] Consolidate the proofs recent finalization state memorization

Authored by Fabien on Fri, Nov 3, 11:02.



D14704 fixed a bug regarding the recently finalized proofs status that could be lost under some circumstances. This diff is a follow up that applies the same logic consistently to all the places in our codebase. Note that the places where it was not used are places where it was not needed, but it is cheap enough and it guarantees that we will not be missing some edge cases in the future.

Test Plan

With Clang and Debug:

ninja all check-all

Diff Detail

rABC Bitcoin ABC
Lint Not Applicable
Tests Not Applicable

Event Timeline

Fabien requested review of this revision.Fri, Nov 3, 11:02
PiRK added a subscriber: PiRK.
PiRK added inline comments.
299–300 ↗(On Diff #42930)
This revision is now accepted and ready to land.Fri, Nov 3, 12:26