You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 11, 2024. It is now read-only.
The InitializeStateRecoveryCommand extends BaseInteroperabilityCommand that is instantiated with MainchainInteroperabilityInternalMethod, instead of SidechainInteroperabilityInternalMethod. Therefore, the state recovery initialization on a sidechain uses an incorrect set of internal methods implementations.
Replace MainchainInteroperabilityInternalMethod with SidechainInteroperabilityInternalMethod name in the InitializeStateRecoveryCommand class definition.
Affected Version
v6.0.0-beta.2
The text was updated successfully, but these errors were encountered:
Description
The
InitializeStateRecoveryCommand
extendsBaseInteroperabilityCommand
that is instantiated withMainchainInteroperabilityInternalMethod
, instead ofSidechainInteroperabilityInternalMethod
. Therefore, the state recovery initialization on a sidechain uses an incorrect set of internal methods implementations.https://github.com/LiskHQ/lisk-sdk/blob/89e7504ef5eb6183aefe576a93be3d6052e56038/framework/src/modules/interoperability/sidechain/commands/initialize_state_recovery.ts#L35-L35
Recommendation
Replace
MainchainInteroperabilityInternalMethod
withSidechainInteroperabilityInternalMethod
name in theInitializeStateRecoveryCommand
class definition.Affected Version
v6.0.0-beta.2
The text was updated successfully, but these errors were encountered: