syncswap / core-contracts

GNU General Public License v3.0
64 stars 42 forks source link

Syncswap swap between USDC and ETH #6

Open InoMurko opened 8 months ago

InoMurko commented 8 months ago

🐛 Bug Report

Syncswap swap between USDC and ETH. Where USDC is used as fee. Receive gas refund with ETH.

"message": "failed to validate the transaction. reason: Validation revert: Paymaster validation error: Error function_selector = 0x, data = 0x",

📝 Description

Syncswap swap between USDC and ETH. Where USDC is used as fee. Receive gas refund with ETH.

🔄 Reproduction Steps

But if I change that I receive gas refund in USDC the transaction goes through.

🤔 Expected Behavior

Describe what you expected to happen.

😯 Current Behavior

Describe what actually happened.

🖥️ Environment

Any relevant environment details.

📋 Additional Context

Add any other context about the problem here. If applicable, add screenshots to help explain.

📎 Log Output

Paste any relevant log output here.

InoMurko commented 8 months ago

So my guess is the frontend is not constructing the transaction appropriately.