pendulum-chain / vortex

1 stars 1 forks source link

Skip waiting for finalization of `ExecuteRedeem` event to speed up process #184

Open ebma opened 2 weeks ago

ebma commented 2 weeks ago

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.

ebma commented 2 weeks ago

@pendulum-chain/product this ticket is a low-effort improvement speeding up the offramping flow. We should do it soon.

ebma commented 2 weeks ago

Hey team! Please add your planning poker estimate with Zenhub @gianfra-t @b-yap @Sharqiewicz @TorstenStueber