Change MockNetwork to be Compatible with Serialization Injection
The problem is that MockNetworkParametersService is reserialising the network parameters and then rehashing it when we access services.networkParametersService.currentHash when creating the component groups. At this point we had set the serialization context to use the custom scheme (which changed the blob and thus the hash).
This task is to change MockNetworkParametersService so we store the current hash and only recompute it when we update the network parameters (like DBNetworkParametersStorage). DBNetworkParametersStorage is used by real nodes and the node driver.