t3rn icon indicating copy to clipboard operation
t3rn copied to clipboard

Enforce min. block confirmations in Portal-FV

Open petscheit opened this issue 3 years ago • 0 comments

Item Type

Epic

Description

Certain chains require a number of confirmations, for a transaction to be considered final. We need to spec out a general approach to this, that is easy on compute, and doesn't introduce to much complexity for rangers/relayers.

Example: Why this is important:

  • Eth Escrow transfer is executed as side_effect
  • Ranger instantly submits the header its included in
  • Inclusion proof is submitted and circuit emit Release event
  • Eth finds a longer chain, our transfer is now reverted -> divergent state between circuit and target

Additional Information

No response

Acceptance Criteria

Do some research and spec out a general approach

What are the points assigned to this item?

3

Is the issue ready?

  • [ ] This issue is ready

petscheit avatar Jun 10 '22 13:06 petscheit