keep-core icon indicating copy to clipboard operation
keep-core copied to clipboard

Confirm chain state after submitting relay entry

Open pdyraga opened this issue 5 years ago • 0 comments

During the work on application-specific actions in ECDSA client, we abstracted utility allowing to wait for a certain number of blocks to confirm the deposit state, and if the state is not the one we expect, trigger the action again. A similar mechanism can be used to confirm a relay entry has been submitted to the chain to improve the handling of minor-to-mid chain reorgs.

Please see WaitForBlockConfirmations in keep-common.

pdyraga avatar Nov 13 '20 14:11 pdyraga