Skip to content

Wallet incorrectly formats gas price in contract interaction screen #431

@jdowning100

Description

@jdowning100

Discord Discussion Link

No response

What browsers are you seeing the problem on?

Chrome

What were you trying to do?

When editing the gas price in the contract interaction view, the user-input gas price field is not properly stored or is improperly formatted. I put 50 gwei, but the resulting transaction (after proto-decoding) has 50000000000 gwei. This could cause a user to lose funds.
Screen Shot 2025-01-08 at 1 24 40 PM

What did not work?

The wallet did not properly reflect the user-input gas price in the transaction.

Version

None

Relevant log output

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions