Skip to content

[Bug]: Deposits failing due to being submitted with not enough ETH for gas #25262

@bschorchit

Description

@bschorchit

Describe the bug

Deposits on Linea are failing due to being submitted with not enough ETH for gas with no gasless route available and failing with smart transaction cancelled.
We only support gas station via EIP-7702 for deposits, meaning Linea has never been supported.
So the core bug seems to be the UI isn't making this distinction and letting them submit, when they should instead see the error.
Fix could just be doing a supported EIP-7702 chain check in calculateSourceNetworkCost in packages/transaction-pay-controller/src/strategy/relay/relay-quotes.ts

Expected behavior

No response

Screenshots/Recordings

No response

Steps to reproduce

  1. Have MUSD but no ETH on Linea
  2. Do a Perps or Predict deposit
  3. Notice it immediately failing

Error messages or log output

Where was this bug found?

Live version (from official store)

Version

7.62.0

Build number

Build type

None

Device

iphone

Operating system

iOS

Additional context

No response

Severity

No response

Metadata

Metadata

Assignees

Labels

Sev2-normalAn issue that may lead to users misunderstanding some limited risks they are takingregression-prod-7.62.0Regression bug that was found in production in release 7.62.0release-7.65.0Issue or pull request that will be included in release 7.65.0team-confirmationsPush issues to confirmations teamtype-bugSomething isn't working

Type

Projects

Status

To be triaged

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions