Skip to content

[Bug]: Swap of unapproved token fails on Linea #27804

@davibroc

Description

@davibroc

Describe the bug

When swapping any unapproved token on Linea, only the approval transaction succeeds. However the actual swap transaction - that happens after that - fails. I tried to submit the same swap a second time, and since the approval is already there the transaction goes through. So the user can somehow still recover, but we might lose the transaction if the user doesn’t retry.

I checked and this is also in production
I checked on Mainnet and doesn't happen

Expected behavior

No response

Screenshots/Recordings

Linea-bug.mov

Steps to reproduce

  1. Change Network to Linea
  2. Swap ETH to unapproved token
  3. Swap unapproved token to any token
  4. Notice that the transaction fails

Error messages or log output

No response

Detection stage

During release testing

Version

12.5.0

Build type

None

Browser

Chrome

Operating system

MacOS

Hardware wallet

No response

Additional context

No response

Severity

No response

Metadata

Metadata

Assignees

Labels

Sev1-highHigh severity; partial loss of service with severe impact upon users, with no workaround.regression-RC-12.5.0release-12.5.0Issue or pull request that will be included in release 12.5.0release-12.6.0Issue or pull request that will be included in release 12.6.0team-swaps-deprecatedDEPRECATED: please use "team-swaps-and-bridge" insteadtype-bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions