Note: This issue (especially task 2) is strongly related to splitting the WIP branch into separate PRs: https://github.com/hyperledger/besu/issues/4776
It might be better to do this issue's tasks as part of each split out PR.
Tasks:
Fill in the unit test gaps.
Refactor, e.g. fold back in most of EngineForkChoiceUpdated and EngineForkChoiceUpdatedV2 code for each V2 class (should also check for recent changes to V1 methods)
Note: This issue (especially task 2) is strongly related to splitting the WIP branch into separate PRs: https://github.com/hyperledger/besu/issues/4776 It might be better to do this issue's tasks as part of each split out PR.
Tasks:
Probably no need for integration or acceptance tests since we will have the hive tests, see https://github.com/hyperledger/besu/issues/4747
Unit tests can be implemented on the WIP branch for now: https://github.com/hyperledger/besu/pull/4552