You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi guys. I'm currently using the relay-kit to make ERC20 token transfers, using also the safe-relay-kit as a leverage to make those transfer form a Safe wallet account. But I've detected an issue trying to transfer some specific tokens such as DAI or USDT on Polygon mainnet. When I attempt to execute the relay transaction using callWithSyncFee that comes from safe-relay-kit, it seems it went through successfully (or at least this is what the gelato API is showing), but suddenly the explorer confirms the transaction was reverted.
Making a deep debugging using Tenderly and some unit-tests I realized The execution was reverted due to out of gas, but I made sure my Safe wallet has the enough MATIC funds to cover the gas and fees and has the enough ERC20 token balance. I even set a custom gas limit up to 500.000, which is too high for Polygon. I attach some transactions an their responses in order to resolve this quick.
I used this safe wallet to make the tests, but it's happening on several safe wallets: matic:0x0E4e8EC7bd334AF73Ed8d87457007664812737Fe
Hi guys. I'm currently using the
relay-kit
to make ERC20 token transfers, using also thesafe-relay-kit
as a leverage to make those transfer form a Safe wallet account. But I've detected an issue trying to transfer some specific tokens such as DAI or USDT on Polygon mainnet. When I attempt to execute the relay transaction usingcallWithSyncFee
that comes fromsafe-relay-kit
, it seems it went through successfully (or at least this is what the gelato API is showing), but suddenly the explorer confirms the transaction was reverted.Making a deep debugging using Tenderly and some unit-tests I realized The execution was reverted due to
out of gas
, but I made sure my Safe wallet has the enough MATIC funds to cover the gas and fees and has the enough ERC20 token balance. I even set a custom gas limit up to 500.000, which is too high for Polygon. I attach some transactions an their responses in order to resolve this quick.I used this safe wallet to make the tests, but it's happening on several safe wallets: matic:0x0E4e8EC7bd334AF73Ed8d87457007664812737Fe
Transaction 1
https://relay.gelato.digital/tasks/status/0xb267f5f2db408f917314fcd9907389d0b3382b1917678bdd401073e96af327ec
https://polygonscan.com/tx/0xdd9e3ae615d1c47169b494e48efba567aac587813aa64b3e4dcfd9571147a1bc
Transaction 2
https://relay.gelato.digital/tasks/status/0xb0b0104514288512a156f25302a5e8cc3380655909d903a321c3ecac4acbf548
https://polygonscan.com/tx/0xf9dc2177532324e36c97207be81d1261b3e88bbb6f2f9a1a7dd7d041a49cfcff
Transaction 3
https://relay.gelato.digital/tasks/status/0x53b3d53443d12879b5273a9c8c6914bcffdd45d230690bc27af82c6c3207178b
https://polygonscan.com/tx/0x80661a93b221ca8356ebfcdaa687d4cc913ac0c76b39b3fd55b65bb640a73827
Transaction 4
https://relay.gelato.digital/tasks/status/0xe1af9e09ecbd7c44a73fe50c50b2dd0493abafc120d03e0fcaf7c4159a6ec314
https://polygonscan.com/tx/0x6295c694b5c9ce66e16a295063bae610f78ecadb1f2e1d1384d291fbcd576283
I also attach a Tenderly execution trace just to provide you guys the major quantity of clues.
https://dashboard.tenderly.co/tx/137/0xa7150fdd0453ce8a8162ca26a03555abb21832d396eaf4dfa6db89b50d7cd778?trace=0.1.5.0
I tried to remove the gas limit or even increase it even more and the transactions didn't go through either.
The text was updated successfully, but these errors were encountered: