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

Implement SidechainRecoveryManager class #9166

Open
Tracked by #6919
ishantiw opened this issue Nov 29, 2023 · 0 comments
Open
Tracked by #6919

Implement SidechainRecoveryManager class #9166

ishantiw opened this issue Nov 29, 2023 · 0 comments

Comments

@ishantiw
Copy link
Contributor

ishantiw commented Nov 29, 2023

Description

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 ishantiw changed the title Create SidechainRecoveryManager class Implement SidechainRecoveryManager class Dec 7, 2023
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

1 participant