While writing unit test coverage for LegacyModule, we discovered PrefixedStateReadWriter class is needed to initialise stateStore but is not exposed from lisk-sdk.
Motivation
The PrefixedStateReadWriter class is required to write unit test in lisk-core.
Description
While writing unit test coverage for LegacyModule, we discovered
PrefixedStateReadWriter
class is needed to initialise stateStore but is not exposed from lisk-sdk.Motivation
The
PrefixedStateReadWriter
class is required to write unit test in lisk-core.Additional Information
lisk-core code ref
lisk-sdk PrefixedStateReadWriter