Skip to content

estimateGas can return under 21000 #608

@K-Ho

Description

@K-Ho

Is your feature request related to a problem? Please describe.
Right now, estimateGas can return under 21000 if the "feeInGwei" is less than 21000 gwei. However, Metamask prevents sending transactions with a gasLimit of under 21000.

Describe the solution you'd like
A potential hack here is for estimateGas to return the Max(21000, estimateGas(tx))

Describe alternatives you've considered
Really, we need to look into alternatives, as it appears the downstream effects of this hack will be very numerous.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-featureCategory: features

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions