pendulum-chain / vortex

1 stars 0 forks source link

Make Moonbeam executor more robust #157

Closed TorstenStueber closed 1 week ago

TorstenStueber commented 1 week ago

In tests we observed that the Moonbeam executor step (where our Moonbeam executor account submits a transaction to send the funds to Pendulum via XCM) can time out.

The reason is that the request waits for the transaction to be included on chain.

Instead I propose to: 1) don't wait for the transaction inclusion within the same HTTP request but in the frontend and 2) allow for higher gas price limits to make prompt inclusion likely.

Details

Open Questions

What should happen when the users reloads or closes the browser window (and opens again at a later point in time) while the frontend is waiting for transaction inclusion?

I suggest that we just ignore this error case (and assume that the transaction has already been submitted) and just wait for the funds to arrive on Pendulum.

TorstenStueber commented 1 week ago

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