pendulum-chain / vortex

1 stars 1 forks source link

Revert splitting of Moonbeam receiver contract #185

Open ebma opened 5 days ago

ebma commented 5 days ago

Context

To work around issues introduced by the increase in gas cost on Moonbeam, the receiver contract was split into two parts for https://github.com/pendulum-chain/vortex/issues/137, resulting in additional overhead on the frontend application.

It seems like squidrouter managed to deploy a fix that works around this issue and the original logic would work again. To reduce the overhead, the splitting of the receiver contract should get reverted.

TODO

ebma commented 5 days ago

@pendulum-chain/product this change will also speed up the offramping process.

ebma commented 5 days ago

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

TorstenStueber commented 5 days ago

We should probably also test what Squidrouter did in the mean time. Do they really respect the estimatedGas parameters? Can we change this in the future if we need to (e.g., if Moonbeam changes their weight settings again?)

gianfra-t commented 4 days ago

I would personally leave the code around. Not as an automatic fallback since that would be quite a lot of work for a very unlikely scenario, but such that it's easy to plug the "new" logic back.

TorstenStueber commented 4 days ago

@gianfra-t so the suggestion would be to have a config parameter that determines what option we want to use? Could make sense that way.

ebma commented 3 days ago

Good point, I changed the description to reflect that.