lisk-sdk
lisk-sdk copied to clipboard
Implement _collectDataForStateRecovery for the sidechain client
Description
- Implement
_collectProofsForRecovery
inSidechainRecoveryClient
created in class https://github.com/LiskHQ/lisk-sdk/issues/9167 - This function will use the
apiClient
of a sidechain to subscribe to thechain_newBlock
event and querystate_prove
with all the registered queryKeys. Similar implementation can found in the recovery_lsk_plugin.ts script
Acceptance Criteria
- Should have all the unit tests