pendulum-chain / pendulum-chain/vortex

Investigate issue with `hydrationSwap` phase not moving forward automatically

Open
#1,073 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
6
Forks
5
Avg merge
1d 7h
Merged PRs (30d)
33

Description

Context

For EUR -> DOT onramps, Vortex passes Hydration to swap Assethub USDC to DOT on their DEX. Recently, the ramp process got stuck in the hydrationSwap phase, meaning the handler seemingly waited for a confirmation event that was never received (as checking the ephemeral account on Subscan showed that the swap executed). The phase never switched to 'failed' either. This was resolved by manually setting the current_phase to the next phase.

TODO

Check why the hydrationSwap handler is not proceeding automatically.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the hydrationSwap handler and trace how it waits for the Hydration swap confirmation event. Reproduce or inspect the EUR-to-DOT flow, then verify that the phase advances after a successful swap and reaches failed when confirmation is not received.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
backend, blockchain, payments
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.