Change MockNetwork to be Compatible with Serialization Injection
Description
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.
Done
Assignee
Reporter
Labels
None
Sprint
None
Priority
Engineering Teams
Core - Sandboxing & Packaging Team
Fix versions
Affects versions
None
Ported to...
None
Story Points / Dev Days
2
Build cut
None
Squad
None