pendulum-chain / vortex

1 stars 0 forks source link

Out of gas bug when calling receiver contract on Moonbeam #135

Closed gianfra-t closed 1 week ago

gianfra-t commented 3 weeks ago

Our receiver contract 0x066d12e8f155c87a87d9db96eac0594e872c16b2 expects a call from the Squid MultiCall contract 0xea749fd6ba492dbc14c24fe8a3d08769229b896c to execute the XCM transfer into Pendulum.

For some still unknown reason, the transfer with transaction hash on moonbeam 0x6c223a706750fe7726647303da9b5b38ada2856f95fe659475cc97030b1c9a36 failed with an out of gas error. Exploring the internal transactions of our contract we can see that the last call to the XCM contract interface failed.

We need to understand why this failed only once, since after this transaction a new transaction was executed properly. As a quick fix, we need to increase the gas limit defined here. It is expected this will not impact too much on the Axelar costs.

gianfra-t commented 1 week ago

Closing as this implements the solution.