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 has been archived by the owner on Jun 11, 2024. It is now read-only.
Implement load and init methods of RecoveryPlugin class
classRecoveryPluginextendsBasePlugin{private_recoveryManager: SidechainRecoveryManager|MainchainRecoveryManager;init(context: PluginInitContext<Record<string,unknown>>): Promise<void>{// assign all the config params}load(): Promise<void>{// check whether the chain is mainchain or sidechainif(mainchain){this._recoveryManager=newMainchainRecoveryManager()}else{// check for mainchainIPC/WS path in config and create mainchainClientandpassmainchainClientthis._recoveryManager=newSidechainRecoveryManager()}}// call clean up on RecoveryManager to cleanup apiClients before app shutdownunload(){}}
Acceptance Criteria
Should have all the unit test
The text was updated successfully, but these errors were encountered:
Description
Implement
load
andinit
methods ofRecoveryPlugin
classAcceptance Criteria
The text was updated successfully, but these errors were encountered: