Skip to content

Commit

Permalink
feat(txs-tracer-core): ✨ add total steps
Browse files Browse the repository at this point in the history
  • Loading branch information
DavideSegullo committed Apr 17, 2023
1 parent a95f50a commit ef6bf82
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ const initialContext: CrossSwapTraceContext = {
dstWebsocketUrl: '',
loading: false,
currentStep: 0,
totalSteps: 4,
errorCode: 0,
errorMessage: '',
srcChannel: '',
Expand Down
1 change: 1 addition & 0 deletions packages/txs-tracer-core/src/lib/types/cross-swap-trace.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export type CrossSwapTraceContext = Omit<IBCTraceContext, 'ackTx' | 'txs'> & {
M1Tx?: IndexedTx;
M2Tx?: IndexedTx;
errorMessage?: string;
totalSteps: number;
};

export type CrossSwapMachineResultErrorPayload =
Expand Down

0 comments on commit ef6bf82

Please sign in to comment.