validation: Pass in chainstate to TestBlockValidity
Summary:
[META] This commit should be followed up by removing the comments and assertions meant only to show that the change is correct.
This is a backport of core#20749 [10/17]
https://github.com/bitcoin/bitcoin/pull/20749/commits/9c300cc8b3ce3d82874982fbf3087e48a6ac0ef2
Depends on D11180
Test Plan: ninja all check-all
Reviewers: #bitcoin_abc, Fabien
Reviewed By: #bitcoin_abc, Fabien
Differential Revision: https://reviews.bitcoinabc.org/D11182