lisk-sdk icon indicating copy to clipboard operation
lisk-sdk copied to clipboard

Implement SidechainRecoveryManager class

Open ishantiw opened this issue 1 year ago • 0 comments

Description

  • Based on SidechainRecoveryManager class created in https://github.com/LiskHQ/lisk-sdk/issues/9164 Implement all the methods for this class
class SidechainRecoveryManager extends BaseRecoveryManager {
	private _mainchainClient: APIClient;

	constructor({ config, chainID, stateRecoveryDB, mainchainClient }) {
		super({ config, chainID, stateRecoveryDB });
		this._mainchainClient = mainchainClient;
	}

	// Only init state recovery is extra command as compared to BaseRecoveryManager
	// we can call mainchainClient to build the params
	public triggerInitStateRecovery(chainID, queryKey){}
    
      public cleanup()
}

Acceptance Criteria

  • Should have all the unit tests

ishantiw avatar Nov 29 '23 13:11 ishantiw