Skip to content
This repository was archived by the owner on Jun 11, 2024. It is now read-only.

Invalid base method used in InitializeStateRecoveryCommand #8615

Closed
Tracked by #7226
ishantiw opened this issue Jun 16, 2023 · 0 comments
Closed
Tracked by #7226

Invalid base method used in InitializeStateRecoveryCommand #8615

ishantiw opened this issue Jun 16, 2023 · 0 comments
Assignees
Milestone

Comments

@ishantiw
Copy link
Contributor

Description

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.

https://github.com/LiskHQ/lisk-sdk/blob/89e7504ef5eb6183aefe576a93be3d6052e56038/framework/src/modules/interoperability/sidechain/commands/initialize_state_recovery.ts#L35-L35

Recommendation

Replace MainchainInteroperabilityInternalMethod with SidechainInteroperabilityInternalMethod name in the InitializeStateRecoveryCommand class definition.

Affected Version

v6.0.0-beta.2

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants