Implement SidechainRecoveryManager class
Opened this issue · 0 comments
ishantiw commented
Description
- Based on SidechainRecoveryManager class created in #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