Skip to content

[Bug]: Gas - MV3 - Editting a gas from a dapp tx breaks with Cannot read properties of undefined (reading 'low') #24732

@seaona

Description

@seaona

Describe the bug

Whenever I am trying to edit the gas from a transaction that comes from a dapp, MetaMask breaks with the error Cannot read properties of undefined (reading 'low').

Note: it feels like this should be captured by a test, so we should probably add one here alongside with the fix

Expected behavior

No response

Screenshots/Recordings

Screenshot from 2024-05-23 08-45-16

edit-gas-udnefined-low.mp4

Steps to reproduce

  1. Go to the test dapp
  2. Trigger any tx
  3. Click the Edit gas button
  4. See MM breaks with the error Cannot read properties of undefined (reading 'low')

Error messages or log output

No response

Version

develop MV3 build

Build type

None

Browser

Chrome

Operating system

Linux

Hardware wallet

No response

Additional context

No response

Severity

No response

Metadata

Metadata

Assignees

Labels

Sev2-normalNormal severity; minor loss of service or inconvenience.release-11.16.6Issue or pull request that will be included in release 11.16.6release-12.0.0Issue or pull request that will be included in release 12.0.0team-extension-platformExtension Platform teamtype-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