Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error transferring ERC20 tokens use callWithSyncFee #46

Open
crisramb665 opened this issue Feb 6, 2024 · 0 comments
Open

Error transferring ERC20 tokens use callWithSyncFee #46

crisramb665 opened this issue Feb 6, 2024 · 0 comments

Comments

@crisramb665
Copy link

crisramb665 commented Feb 6, 2024

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

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant