```
-BEGIN VERIFY SCRIPT-
git ls-files -- src/test \
| grep -v '^src/test/fuzz' \
| xargs sed -i -E \
-e 's@g_chainman\.m_blockman@m_node.chainman->m_blockman@g' \
-e 's@([^:])(Chain(state|)Active)@\1::\2@g' \
-e 's@::Chain(state|)Active\(\)@m_node.chainman->ActiveChain\1()@g'
arc lint
-END VERIFY SCRIPT-
```
This is a backport of core#21866 [5/12]
https://github.com/bitcoin/bitcoin/pull/21866/commits/0d61634c066a7102d539e85e2b1a4ca15be9660a
Depends on D11649 and D11650