Open ebma opened 2 weeks ago
@pendulum-chain/product this ticket is a low-effort improvement speeding up the offramping flow. We should do it soon.
Hey team! Please add your planning poker estimate with Zenhub @gianfra-t @b-yap @Sharqiewicz @TorstenStueber
Context
At the moment, the process waits for the finalization of the redeem execution on Spacewalk. This is not necessary as it's only relevant whether the tokens arrived on the Stellar account or not. By cutting this out from the process, we can simplify the logic and save a couple of seconds.
TODO
Instead of waiting for the
ExecuteRedeem
event to be emitted here, the process can just check if the tokens already arrived on the Stellar account. This is already done in the error case here.