The abc_p2p_avalanche_contender_voting.py test incorrectly assumes that no block is mined after the node restarted. But blocks are mined to generate the coinbase transactions required for staking when building the quorum.
Instead we can prepare the proofs before the restart and assign them to the peers in order to build the quorum with no block being mined.
Loosely depends on D18027 (another fix for this test).