Skip to content

zetatools : enable tracking a cctx through its various states #3447

@kingpinXD

Description

@kingpinXD

A cctx on chain goes through the following states

  PendingOutbound 
  OutboundMined
  PendingRevert 
  Reverted
  Aborted

There are some intermediatery states which do not need to be tracked on-chain.

Examples:
Waiting for inboundTX to reach enough confirmations
Waiting for inbound ballot to be successfull
Waiting for outboundTX to reach enough confirmations
Waiting for outbound ballot to be finalized

These states can be tracked using external api calls + zetachain state (tracker) to provide a more holistic view of the CCTX flow.

The feature should be implemented as part of zetatools package, which accepts an inbound hash and chainID , and tracks the entire CCTX

Metadata

Metadata

Assignees

Labels

zetatoolZetaTool command line

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions