class MainchainRecoveryManager extends BaseRecoveryManager {
private _messageRecoveryDB: Database;
constructor({ config, chainID, stateRecoveryDB, messageRecoveryDB, sidechainChainID }) {
super({ config, chainID, stateRecoveryDB });
this._messageRecoveryDB = messageRecoveryDB;
}
// saves CCMs and inclusion proof on the mainchain on every new block
public enableMessageRecovery() {}
// creates tx
public triggerMessageRecovery(chainID){
// gets information from DB
}
public cleanup()
}
Description
MainchainRecoveryManager
class created in https://github.com/LiskHQ/lisk-sdk/issues/9164 Implement all the methods for this classAcceptance Criteria